sparc64-gentoo-freebsd9.0-gcc -fPIC -DPIC -w -O2 -mcpu=ultrasparc3 -mtune=ultrasparc3 -fno-strict-aliasing -pipe -fno-strict-aliasing -isystem '/var/tmp/portage/sys-freebsd/freebsd-lib-9.0_rc1/work/include_proper' -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.0_rc1/work/lib/libc/include -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.0_rc1/work/lib/libc/../../include -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.0_rc1/work/lib/libc/sparc64 -DNLS -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.0_rc1/work/lib/libc/sparc64/sys -D__DBINTERFACE_PRIVATE -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.0_rc1/work/lib/libc/../../contrib/gdtoa -DINET6 -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.0_rc1/work/lib/libc -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.0_rc1/work/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.0_rc1/work/lib/libc/../../contrib/tzcode/stdtime -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.0_rc1/work/lib/libc/stdtime -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.0_rc1/work/lib/libc/locale -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.0_rc1/work/lib/libc/sparc64/fpu -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.0_rc1/work/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /var/tmp/portage/sys-freebsd/freebsd-lib-9.0_rc1/work/lib/libc/stdlib/malloc.c -o malloc.So /var/tmp/portage/sys-freebsd/freebsd-lib-9.0_rc1/work/lib/libc/stdlib/malloc.c:1106: error: thread-local storage not supported for this target /var/tmp/portage/sys-freebsd/freebsd-lib-9.0_rc1/work/lib/libc/stdlib/malloc.c:1111: error: thread-local storage not supported for this target /var/tmp/portage/sys-freebsd/freebsd-lib-9.0_rc1/work/lib/libc/stdlib/malloc.c:1130: error: thread-local storage not supported for this target *** Error code 1 1 error *** Error code 2 1 error
freebsd-lib-9.0 compiles fine when I add "-DNO_TLS -DNMALLOC_TCACHE" to CFLAGS so I add this line to ebuild: use sparc-fbsd && append-flags "-DNO_TLS -DNMALLOC_TCACHE" I don't know what these FLAGS means but now the package compiles and works.
sparc-fbsd will likely need a complete rework and certainly a dedicated dev which we don't have atm :/ closing as obsolete