LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-19-2008, 02:27 AM   #1
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Rep: Reputation: 30
Cannot handle TLS data - what is this?


I get that error when loading some shared libraries (specifically, libGL.so from ATI drivers and libjemalloc.so from Firefox 3).
What does that mean? Is TLS the same as "Transport layer security"? Libraries use TLS? To talk to whom? And above all, how do I fix this problem?
Thank you!
 
Old 06-19-2008, 08:10 AM   #2
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Original Poster
Rep: Reputation: 30
Maybe TLS is "Thread-local storage" (it would make more sense). Should I upgrade glibc?
 
Old 06-19-2008, 08:30 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Yes, it's *that* TLS, the one that has to do with NPTL. IIGC the problem occurs when libraries get provided (external, binary drivers) and loaded that should *not* be TLS-enabled. Cursory search shows quite a few possibilities to test ranging from LD_PRELOADs to LD_ASSUME_KERNEL to reverting to earlier builds (like in your other thread) to rebuilding w/o TLS...
 
Old 06-20-2008, 02:44 AM   #4
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Original Poster
Rep: Reputation: 30
I didn't understand one thing: my C library are TLS-enabled and the shared libraries aren't, or is it the other way round?
Anyway, should upgrading glibc work? If yes, how can I upgrade glibc without messing up all the libraries compiled against it?
Thank you!
 
Old 06-20-2008, 01:11 PM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
IIRC in your other thread you downgraded the drivers to a previous version (and I think non-TLS). IIGC, and as far as I've read, it'll be a situation where the supplied driver forces TLS where it shouldn't, and that as such it isn't about upgrading Glibc. Of course I could be totally off my rocker here.
 
Old 06-22-2008, 04:09 AM   #6
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by unSpawn View Post
IIRC in your other thread you downgraded the drivers to a previous version (and I think non-TLS). IIGC, and as far as I've read, it'll be a situation where the supplied driver forces TLS where it shouldn't, and that as such it isn't about upgrading Glibc. Of course I could be totally off my rocker here.
What do you think I should do in order to get TLS - and those libraries - working?
Thank you!
 
Old 06-30-2008, 12:09 PM   #7
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Original Poster
Rep: Reputation: 30
I think the problem is more serious than I thought... Many recent binaries use TLS - so I can't use them!
Forgive me if I repeat my request: doesn't anyone know how to enable TLS in Linux??
Thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
errno: TLS definition in /lib64/libc.so.6 section .tbss mismatches non-TLS reference johnpaulodonnell Programming 2 07-25-2008 04:37 AM
After fglrx upgrade => libGL.so.1: cannot handle TLS data simopal6 Linux - Software 3 05-26-2008 08:51 AM
Cyrus-imapd and TLS not working (cannot load ca data) vlad-the-emailer Linux - Server 1 08-17-2007 09:23 AM
/usr/bin/ld: errno TLS def.. mismatches non-TLS def.. maverick_pol Fedora 1 07-27-2007 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration