Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929241 - sys-devel/crossdev when compiling sys-devel/gcc-13.2.1_p20240210 on powerpc-linux-musl fails - error: #error "unknown long double size, cannot define BFP_FMT
Summary: sys-devel/crossdev when compiling sys-devel/gcc-13.2.1_p20240210 on powerpc-l...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Crossdev team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-12 20:11 UTC by germ
Modified: 2024-04-13 00:51 UTC (History)
4 users (show)

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


Attachments
config.log for crossdev powerpc-gentoo-linux-musl (X-1o.log,43.00 KB, text/x-log)
2024-04-12 20:12 UTC, germ
Details
FULL BUILD LOG WITH EMERGE --INFO APPENDED (X-1A.log; # e,6.42 KB, text/plain)
2024-04-12 20:55 UTC, germ
Details
actual build log (X-1O.log; # e,6.42 KB, text/plain)
2024-04-12 21:11 UTC, germ
Details
build.log (tar.log,80.92 KB, text/x-log)
2024-04-13 00:35 UTC, germ
Details
gcc.log.xz (gcc.log.xz,53.97 KB, application/x-xz)
2024-04-13 00:46 UTC, immolo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description germ 2024-04-12 20:11:27 UTC
Steps to replicate:
1.) emerge --ask sys-devel/crossdev
2.) app-eselect/eselect-repository
3.) eselect repository create crossdev
4.) mkdir -p /var/db/repos/crossdev/{profiles,metadata} 
5.) echo 'crossdev' > /var/db/repos/crossdev/profiles/repo_name
6.) echo 'masters = gentoo' > /var/db/repos/crossdev/metadata/layout.conf
7.) chown -R portage:portage /var/db/repos/crossdev
8.) crossdev -s4 -t powerpc-gentoo-linux-musl
9.) PORTAGE_CONFIGROOT=/usr/powerpc-gentoo-linux-musl eselect profile set 24 (split-usr musl)
10.) emerge-powerpc-gentoo-linux-musl -aqv gcc
Comment 1 germ 2024-04-12 20:12:37 UTC
Created attachment 890576 [details]
config.log for crossdev powerpc-gentoo-linux-musl

This is also a 23.0 split user profile.
Comment 2 germ 2024-04-12 20:55:42 UTC
Created attachment 890577 [details]
FULL BUILD LOG WITH EMERGE --INFO APPENDED

voyager ~ # emerge-powerpc-gentoo-linux-musl -pqv gcc
[ebuild  N    ] sys-devel/gcc-13.2.1_p20240210 to /usr/powerpc-gentoo-linux-musl/ USE="(cxx) (default-stack-clash-protection) (default-znow) fortran openmp (pie) ssp zstd (-ada) (-cet) (-custom-cflags) -d -debug -doc (-fixed-point) -go -graphite -hardened (-ieee-long-double) -jit (-libssp) -lto -modula2 (-multilib) (-nls) -objc -objc++ -objc-gc (-pch) -pgo (-sanitize) -systemtap -test -valgrind -vanilla (-vtv)"
Comment 3 germ 2024-04-12 21:11:50 UTC
Created attachment 890579 [details]
actual build log
Comment 4 germ 2024-04-13 00:35:57 UTC
Created attachment 890583 [details]
build.log

there were two unrelated issues on my box causing some hiccups;

FF prod will not download logs sent by other boxes. Cannot fathom why.
-N must be used last because of bash when using wgetpaste else some messy issues occur.
Comment 5 immolo 2024-04-13 00:46:55 UTC
Created attachment 890584 [details]
gcc.log.xz

Try this one :)

So I've confirmed this on my machine as well, seems to have started around the 23.0 profile switch over so will try to narrow this down further unless someone knows what the cause could be in the meantime.
Comment 6 immolo 2024-04-13 00:49:15 UTC
/usr/powerpc-gentoo-linux-musl/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/gcc-13-20240210/libgcc/dfp-bit.h:291:2: error: #error "unknown long double size, cannot define BFP_FMT"
  291 | #error "unknown long double size, cannot define BFP_FMT"
      |  ^~~~~
make[2]: *** [Makefile:722: _sd_to_tf.o] Error 1
make[2]: Leaving directory '/usr/powerpc-gentoo-linux-musl/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/build/powerpc-gentoo-linux-musl/libgcc'
make[2]: *** Waiting for unfinished jobs....