Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316315 - gcc has broken .la files
Summary: gcc has broken .la files
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-20 07:38 UTC by Justin Lecher (RETIRED)
Modified: 2011-04-06 18:02 UTC (History)
0 users

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 Justin Lecher (RETIRED) gentoo-dev 2010-04-20 07:38:05 UTC
The la files installed by gcc are broken. They show

# Directory that this library needs to be installed in:
libdir='/usr/lib/gcc/i686-pc-linux-gnu/4.4.3'

Instead of a prefixed one.
Comment 1 Fabian Groffen gentoo-dev 2010-04-23 17:57:10 UTC
hmmm, which gcc and what .la files are you looking at?  Mine seem to have the EPREFIX properly in there.
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2010-04-24 18:53:15 UTC
libgfortran.la and libgomp.la. Actually it isn't the prefix, but the wrong dir

/opt/scisoft64/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/libgomp.la:
libdir='/opt/scisoft64/usr/lib/../lib64'

/opt/scisoft64/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/libgfortran.la:
libdir='/opt/scisoft64/usr/lib/../lib64'

/opt/scisoft64/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/libgfortranbegin.la:
is OK

/opt/scisoft32/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/libgomp.la:
libdir='/opt/scisoft32/usr/lib'

/opt/scisoft32/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/libgfortran.la:
libdir='/opt/scisoft32/usr/lib'

/opt/scisoft32/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/libgfortranbegin.la:
OK
Comment 3 Fabian Groffen gentoo-dev 2010-04-24 18:56:18 UTC
hmmm, interesting.
Comment 4 Fabian Groffen gentoo-dev 2010-04-24 18:56:53 UTC
what is the value of libdir for the files were it's OK actually?
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2010-04-24 20:29:19 UTC
libdir='/opt/scisoft64/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3'
libdir='/opt/scisoft32/usr/lib/gcc/i686-pc-linux-gnu/4.4.3'
Comment 6 Fabian Groffen gentoo-dev 2011-04-06 18:02:50 UTC
not going to fix this, never caused trouble for me (removing .la files is better best thing to do here)