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

I have it just tested and it works for me,i have glibc in both versions
installed(nptl and linuxthreads)

Stephan Wezel wrote:

> 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
>> issue.
>> -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
>> bk
Received on Mon Jan 9 21:08:37 2006

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