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

Bug 393057

Summary: sys-freebsd/freebsd-lib-9.0 fails to compile on sparc-fbsd
Product: Gentoo/Alt Reporter: Tibor Vago <tibor.vago>
Component: FreeBSDAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: Sparc64   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tibor Vago 2011-12-03 18:16:24 UTC
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
Comment 1 Tibor Vago 2011-12-03 18:20:02 UTC
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.
Comment 2 Alexis Ballier gentoo-dev 2013-10-16 06:43:29 UTC
sparc-fbsd will likely need a complete rework and certainly a dedicated dev which we don't have atm :/ closing as obsolete