Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 929241

Summary: 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
Product: Gentoo Linux Reporter: germ <germtoo>
Component: Current packagesAssignee: Gentoo Crossdev team <crossdev>
Status: CONFIRMED ---    
Severity: normal CC: embedded, germtoo, immoloism, toolchain
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: config.log for crossdev powerpc-gentoo-linux-musl
FULL BUILD LOG WITH EMERGE --INFO APPENDED
actual build log
build.log
gcc.log.xz

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....