Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ 1 2 [3] 4 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: libc NPTL/TLS & Wine< Next Oldest | Next Newest >
stupid_idiot Offline





Group: Members
Posts: 344
Joined: Oct. 2006
Posted: Oct. 14 2007,17:16 QUOTE

Quote (Juanito @ Oct. 14 2007,19:00)
Did you add TLS to the base glibc binary from somewhere - i.e. in the same way as adding from glibc-linuxthreads-2.3.2.tar.bz2?

glibc-linuxthreads-2.3.6 had to be manually added, but NPTL/TLS is already included in glibc-2.3.6.
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Oct. 17 2007,11:59 QUOTE

I had another go at this:
Code Sample
$ patch -p1 -d /usr/src/glibc-2.3.2 < /mnt/sdb1/source/build/glibc-2.3.2-sscanf-1.patch
patching file libio/swprintf.c
patching file libio/swscanf.c
patching file stdio-common/sscanf.c
$ ../glibc-2.3.2/configure --prefix=/opt/build --enable-shared --enable-add-ons --enable-kernel=2.4.26 --with-tls
...
$ /opt/build/lib/libc.so.6
GNU C Library stable release version 2.3.2, by Roland McGrath et al.
...
Compiled by GNU CC version 3.3.5 (Debian 1:3.3.5-13).
Compiled on a Linux 2.6.0-test7 system on 2007-10-17.
Available extensions:
       GNU libio by Per Bothner
       crypt add-on version 2.1 by Michael Glad and others
       linuxthreads-0.10 by Xavier Leroy
       BIND-8.2.3-T5B
       libthread_db work sponsored by Alpha Processor Inc
       NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.

Seems to have worked, no? [BTW this was built on dsl-3.4.4, I don't know why it says 2.6.0-test7]
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Oct. 17 2007,12:23 QUOTE

:0 Why your gcc is 3.3.5? DSL has 3.3.4...

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Oct. 17 2007,12:44 QUOTE

I guess dsl doesn't have gcc at all and, from the 2.4.26 docs, gcc-2.95 is recommended - but good point.

I used a compile environment from debian sarge in order to be closest to libc6-2.3.2 and so gcc_3.3.5-3_i386.deb (sarge) seemed to be the path of least resistance (and I seem to recall reading somewhere that gcc >3 had to be used for libc6-2.3.2 but I could be mistaken).

I could try again with a different version of gcc or maybe somebody could try libc6_2.3.2.ds1-22sarge5_i386.deb or the version I compiled with wine and see if it works?
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Oct. 17 2007,13:25 QUOTE

Why not try on DSL?

By "DSL has" I meant the gcc extensions have 3.3.4 ('cept for 2.95 extension of course)


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
16 replies since Oct. 08 2007,02:29 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ 1 2 [3] 4 >/
reply to topic new topic new poll
Quick Reply: libc NPTL/TLS & Wine

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code