Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830203 - Impossible to build cross toolchain for ppc musl
Summary: Impossible to build cross toolchain for ppc musl
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Cross compilation support
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-29 04:49 UTC by 2b57
Modified: 2021-12-29 16:12 UTC (History)
2 users (show)

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


Attachments
3rd step GCC build.log (build.log.gz,115.05 KB, application/x-gzip)
2021-12-29 04:51 UTC, 2b57
Details
cross emerge --info (emerge.info,2.82 KB, text/plain)
2021-12-29 04:53 UTC, 2b57
Details
host's emerge --info (host-emerge.info,5.84 KB, text/plain)
2021-12-29 04:56 UTC, 2b57
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 2b57 2021-12-29 04:49:54 UTC
I'm trying to build stable crosstoolchain for powerpc-gentoo-linux-musl, using latest unstable crossdev (20211121). As per conversation on IRC #gentoo-releng, few workarounds have been applied but no luck so far. 

Since even basic crossdev -S fails with libatomics and ssp errors, it's emerged like so:

USE="-fortran -ssp" EXTRA_ECONF="--disable-libatomic --disable-decimal-float gcc_cv_target_ldbl128=no" crossdev --stable --target powerpc-gentoo-linux-musl

However, it needs to be rebuilt twice, and these further rebuilds are impossible.

Reproducible: Always

Steps to Reproduce:
1. USE="-fortran -ssp" EXTRA_ECONF="--disable-libatomic --disable-decimal-float gcc_cv_target_ldbl128=no" crossdev --stable --target powerpc-gentoo-linux-musl
2. EXTRA_ECONF="--disable-decimal-float --without-long-double-128  libgcc_cv_dfp=no" emerge -v1 cross-powerpc-gentoo-linux-musl/gcc 
3. EXTRA_ECONF="--without-long-double-128 --disable-decimal-float gcc_cv_target_ldbl128=no  libgcc_cv_dfp=no" powerpc-gentoo-linux-musl-emerge gcc -v1
Actual Results:  
Logs are attached
Comment 1 2b57 2021-12-29 04:51:22 UTC
Created attachment 760697 [details]
3rd step GCC build.log
Comment 2 2b57 2021-12-29 04:53:12 UTC
Created attachment 760698 [details]
cross emerge --info
Comment 3 2b57 2021-12-29 04:56:07 UTC
Created attachment 760699 [details]
host's emerge --info