dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: SDL sim build bug

Re: SDL sim build bug

From: Stephan Wezel <>
Date: 2006-01-09

Did you compile glibc with the useflag nptlonly ??
If i understand the errormessage correctly then need the sim the old linuxthreads
but you have only nptl(TLS) installed

FireFly (aka Stephan Wezel)

bk wrote:

>In tools/configure, the sed command on line 891 fails when building the
>makefile for the SDL sim because LDOPTS contains commas. Changing the
>command delimiter to something else (a colon for instance) fixes the
>-e "s,@GCCOPTS@,${GCCOPTS},g" \
>-e "s:@LDOPTS@:${LDOPTS}:g" \
>-e "s,@LOADADDRESS@,${loadaddress},g" \
>This is on Gentoo Linux, GNU sed 4.1.4.
>My build still fails for both SDL and X11 sims due to the weird
>errno/.tbss issue I posted about in the forums. Google says a few other
>packages have similar issues (qmail, PHP) but I've been unable to figure
>out a fix.
>/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: errno: TLS definition in /lib/ section .tbss mismatches non-TLS reference in /home/bk/build/rb/rockbox/simbuild/librockbox.a(errno.o)
>/lib/ could not read symbols: Bad value
>collect2: ld returned 1 exit status
>make[1]: *** [/home/bk/build/rb/rockbox/simbuild/rockboxui] Error 1
>make: *** [all] Error 2
Received on Mon Jan 9 20:58:57 2006

Page was last modified "Jan 10 2012" The Rockbox Crew