Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 744016 - sys-devel/crossdev: multilib functionality unsupported by gcc
Summary: sys-devel/crossdev: multilib functionality unsupported by gcc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-21 22:09 UTC by David Michael
Modified: 2020-12-11 19:26 UTC (History)
1 user (show)

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


Attachments
cross-x86_64-gentoo-linux-gnu-info.log (cross-x86_64-gentoo-linux-gnu-info.log,16.61 KB, text/plain)
2020-09-21 22:10 UTC, David Michael
Details
cross-x86_64-gentoo-linux-gnu-gcc-stage2.log.xz (cross-x86_64-gentoo-linux-gnu-gcc-stage2.log.xz,56.83 KB, application/x-xz)
2020-09-21 22:11 UTC, David Michael
Details
gcc-config.logs.tar.xz (gcc-config.logs.tar.xz,52.48 KB, application/x-xz)
2020-09-21 22:13 UTC, David Michael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Michael 2020-09-21 22:09:54 UTC
When attempting to use the multilib functionality via --abis, gcc-stage2 fails to build while linking libgcc.

Reproducible: Always

Steps to Reproduce:
1. crossdev --abis 'amd64 x86' --stable --target x86_64-gentoo-linux-gnu

Actual Results:  
 * Emerging cross-gcc-stage2 ...
 * error: gcc failed :(

Expected Results:  
It should build and install.

I am just using amd64 to cross-compile to amd64 for this test.
Comment 1 David Michael 2020-09-21 22:10:33 UTC
Created attachment 661810 [details]
cross-x86_64-gentoo-linux-gnu-info.log
Comment 2 David Michael 2020-09-21 22:11:44 UTC
Created attachment 661813 [details]
cross-x86_64-gentoo-linux-gnu-gcc-stage2.log.xz
Comment 3 David Michael 2020-09-21 22:13:23 UTC
Created attachment 661816 [details]
gcc-config.logs.tar.xz
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2020-10-09 21:42:14 UTC
(In reply to David Michael from comment #0)
> When attempting to use the multilib functionality via --abis, gcc-stage2
> fails to build while linking libgcc.
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. crossdev --abis 'amd64 x86' --stable --target x86_64-gentoo-linux-gnu

Internally this is a mess, and the code works even different for different CTARGET ...
Comment 5 David Michael 2020-12-11 19:26:44 UTC
This appears to be fixed, presumably by https://github.com/gentoo/gentoo/commit/40bbce46bf14dbaa372fafba244e6397f2d76f62 .