public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] Again, emerge -e @world related questions...
  @ 2017-12-04 23:39 99% ` Andreas K. Huettel
  0 siblings, 0 replies; 1+ results
From: Andreas K. Huettel @ 2017-12-04 23:39 UTC (permalink / raw
  To: Gentoo

Am Montag, 4. Dezember 2017, 03:58:40 CET schrieb tuxic@posteo.de:
> Hi,
> 
> what could fail, when doing the change to PIE-enabled applications
> on base of the regular updates?
> Compilation may fail, if libs are included and not flagged as to be
> recompiled, which are of the "old standard"...
> What else can fail? What may be the worst scenario?

The worst case scenario is that you spend too much time worrying about it.

Some devs including me switched profile without rebuilding anything outside 
the normal updates. (Because the guidelines were not written up yet.)
Things just kept working fine.

What can go wrong is that you get random build failures at some point later 
(likely with a linker message about failed relocations). These indicate that 
the linker was instructed to combine PIE and non-PIE code, which doesnt work. 
So one of the involved packages has not been rebuilt yet and needs to be 
rebuilt. This is mostly happening when static libraries are involved.

-- 
Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer 
(council, toolchain, perl, libreoffice, comrel)


^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2017-12-04  2:58     [gentoo-user] Again, emerge -e @world related questions tuxic
2017-12-04 23:39 99% ` Andreas K. Huettel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox