Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 393321 - sys-devel/gcc: rename crtbeginTS.o: rename to crtbeginP.o
Summary: sys-devel/gcc: rename crtbeginTS.o: rename to crtbeginP.o
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 391899
  Show dependency tree
 
Reported: 2011-12-05 21:40 UTC by SpanKY
Modified: 2016-07-04 03:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2011-12-05 21:40:27 UTC
binutils expects internal gcc objects to have a single letter suffix (e.g. crtbeginT.o crtbeginS.o), so using two letters means we have to patch binutils in the places we notice.  it'll be easier if we rename our custom crtbegin object to match what everything else expects.
Comment 1 Anthony Basile gentoo-dev 2011-12-05 21:48:55 UTC
Not that it makes much difference, but why "H"?  Did you have some acronym in mind?
Comment 2 Magnus Granberg gentoo-dev 2011-12-05 22:16:27 UTC
Will rename crtbeginTS.o to crtbeginP.o
Fix will be in next bump of piepatch for gcc 4.5 and gcc 4.6
Comment 3 SpanKY gentoo-dev 2011-12-05 22:40:31 UTC
pick any letter that isn't already used.  i just picked "H" for "hardened".
Comment 4 Anthony Basile gentoo-dev 2011-12-07 12:52:30 UTC
(In reply to comment #3)
> pick any letter that isn't already used.  i just picked "H" for "hardened".

Magnus suggested "P" for pie.  Let's go with that because its more specific as a description of the type of hardening.  Magnus ok?

(And please, no one notice that it can also stand for other types of hardening that begin with the letter "p" ... sssh!)
Comment 5 Magnus Granberg gentoo-dev 2011-12-07 15:47:20 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > pick any letter that isn't already used.  i just picked "H" for "hardened".
> 
> Magnus suggested "P" for pie.  Let's go with that because its more specific as
> a description of the type of hardening.  Magnus ok?
> 
> (And please, no one notice that it can also stand for other types of hardening
> that begin with the letter "p" ... sssh!
Thats is okey
Doing testing on the new piepatchset.
Comment 6 Magnus Granberg gentoo-dev 2011-12-07 20:30:09 UTC
Fixed in gcc-4.6.2 with piepatchset 0.5.0
Comment 7 Magnus Granberg gentoo-dev 2011-12-13 17:54:41 UTC
Fixed in gcc-4.5.3-r2 with piepatchset 0.4.6
Comment 8 SpanKY gentoo-dev 2016-07-04 03:21:06 UTC
FYI i'm dropping this patch starting with 2.26.1 since it's been in gcc long enough.  i'll prob drop it from older binutils too, just not do an explicit patchset push for it.