Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345421 - sys-devel/gcc on s390x uses ../lib64 with --disable-multilib (which places libgcc_s.so.1 in /lib64 instead of /lib)
Summary: sys-devel/gcc on s390x uses ../lib64 with --disable-multilib (which places li...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: s390 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-14 16:37 UTC by Raúl Porcel (RETIRED)
Modified: 2013-01-20 19:36 UTC (History)
1 user (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 Raúl Porcel (RETIRED) gentoo-dev 2010-11-14 16:37:10 UTC
Following a conversation with vapier, i found that the s390x installation puts libgcc_s.so.1 into /lib64, while the rest of the libraries are on /lib. According to him this should be fixed:

the s390x gcc claims to have its os multilib dir set to "../lib64" when it 
should be just ".".  this is why gcc-config puts libgcc_so into /lib64/ 
instead of /lib/.
Comment 1 SpanKY gentoo-dev 2011-12-05 06:15:36 UTC
i've been wondering lately if we shouldn't be using a libdir of "lib64" for s390x.  i'd want to check to see what rhel/sles are doing ...
Comment 2 SpanKY gentoo-dev 2012-04-14 01:37:03 UTC
gcc-config-1.7 no longer installs libgcc_s.so in / with split /usr
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2012-08-26 18:53:46 UTC
(In reply to comment #2)
> gcc-config-1.7 no longer installs libgcc_s.so in / with split /usr

and thats stable now
Comment 4 SpanKY gentoo-dev 2012-08-27 03:15:20 UTC
yes, but our s390x port i think is wrong in that it uses /lib instead of /lib64.  it's something we need to fix up in our profiles.

should be as simple as adding a new s390x sub-profile i think with the right settings exported ...
Comment 5 SpanKY gentoo-dev 2012-08-28 00:23:09 UTC
i've added default/linux/s390/10.0/server/s390x and live converted lgentoo2 over to that.  if you want to change the catalyst builder to start using that for its profile for s390x systems, that'd be good.  you shouldn't need to make any other change.
Comment 6 Raúl Porcel (RETIRED) gentoo-dev 2013-01-20 19:36:44 UTC
Stages using /lib64(In reply to comment #5)
> i've added default/linux/s390/10.0/server/s390x and live converted lgentoo2
> over to that.  if you want to change the catalyst builder to start using
> that for its profile for s390x systems, that'd be good.  you shouldn't need
> to make any other change.

Done, new stages are in the mirrors.