Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510248 - dev-libs/mpc and dev-libs/mpfr - add multilib support
Summary: dev-libs/mpc and dev-libs/mpfr - add multilib support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Multilib team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gx86-multilib 477956
  Show dependency tree
 
Reported: 2014-05-13 16:41 UTC by Thibaud CANALE
Modified: 2014-11-01 07:35 UTC (History)
1 user (show)

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


Attachments
emerge --info (file_510248.txt,5.71 KB, text/plain)
2014-05-13 16:41 UTC, Thibaud CANALE
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thibaud CANALE 2014-05-13 16:41:41 UTC
Created attachment 376844 [details]
emerge --info

Hello,

When I am trying to switch between profiles with/without x86_x32 support, gcc will fail to compile because ld can't find dev-libs/mpc and dev-libs/mpfr with the new targeted ABI_X86 support.

For example, trying to compile sys-devel/gcc-4.7.3-r1 after switching from hardened/linux/amd64/x32 to hardened/linux/amd64:
/usr/x86_64-pc-linux-gnux32/bin/ld: cannot find -lmpc
/usr/x86_64-pc-linux-gnux32/bin/ld: cannot find -lmpfr

Therefore, with the lack of handling different ABIs, I can't change of cross compile for another architecture/profile.

Reproducible: Always

Steps to reproduce:
1. Switching between x32 and no-x32 profile;
2. emerge package with deps to dev-libs/mpc and/or dev-libs/mpfr like sys-devel/gcc.

For information, I tried to compile dev-libs/mpc and dev-libs/mpfr on there own, just after switching to no-x32 profile; mpfr succeed but mpc:
checking for MPFR... no
configure: error: libmpfr not found or uses a different ABI (including static vs shared).

but mpfr's files were under /usr/lib64/

Thanks for support.

(for my emerge --info, I switched back to hardened/linux/amd64/x32 profile until I found how to resolve the bug)
Comment 1 SpanKY gentoo-dev 2014-11-01 07:24:39 UTC
Commit message: Add multilib support
http://sources.gentoo.org/dev-libs/mpfr/mpfr-3.1.2_p10.ebuild?rev=1.1
Comment 2 SpanKY gentoo-dev 2014-11-01 07:35:01 UTC
should be all set now in the tree; thanks for the report!

Commit message: Add multilib support
http://sources.gentoo.org/dev-libs/mpc/mpc-1.0.2-r1.ebuild?rev=1.1