Bug 213223 - >=sys-libs/com_err-1.40.4 need to disable 'tls' to build 'sys-fs/e2fsprogs' with uclibc
Bug#: 213223 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: embedded@gentoo.org Reported By: sergey.dryabzhinsky@gmail.com
Component: Core system
URL: 
Summary: >=sys-libs/com_err-1.40.4 need to disable 'tls' to build 'sys-fs/e2fsprogs' with uclibc
Keywords:  
Status Whiteboard: 
Opened: 2008-03-13 02:37 0000
Description:   Opened: 2008-03-13 02:37 0000
As mentioned in https://bugs.gentoo.org/show_bug.cgi?id=204102
sys-fs/e2fsprogs can be compiled only without 'tls' support with uClibc.
But we need sys-libs/com_err compiled without 'tls' too.


Reproducible: Always

Steps to Reproduce:
1. Get uclibc host
2. Compile sys-libs/com_err with 'tls' (compiles without errors...)
3. Try to compile sys-fs/e2fsprogs without 'tls'...

Actual Results:  
https://bugs.gentoo.org/show_bug.cgi?id=204102#c1

Expected Results:  
sys-fs/e2fsprogs compiled...

------- Comment #1 From Sergey Dryabzhinsky 2008-03-13 02:52:48 0000 -------
Created an attachment (id=145970) [details]
Disable TLS in com_err with uClibc

Seems like TLS support is need to be disabled not only on uClibc system:
https://bugs.gentoo.org/show_bug.cgi?id=204102#c12
 - any combination of glibc & kernel...

Maybe it should go to upstream for doing proper check for system TLS support
or we can do something to detect it?..

------- Comment #2 From Sergey Dryabzhinsky 2008-03-13 03:04:07 0000 -------
Well, according to http://devpit.org/wiki/Gnu_Toolchain/Compatibility_Matrix
<=sys-devel/gcc-3.4.3 does not provide TLS support.

------- Comment #3 From Christian Heim (RETIRED) 2008-03-17 17:46:20 0000 -------
Thanks a lot, should be fixed once the mirrors resync.