stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Closed: (STDCXX-555) [EDG eccp/Linux] ld errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in num_get.o
Date Sun, 14 Oct 2007 23:13:50 GMT

     [ https://issues.apache.org/jira/browse/STDCXX-555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Sebor closed STDCXX-555.
-------------------------------

    Resolution: Invalid

The error was caused an incorrectly configured compiler. The EDG eccp demo generates 32-bit
code. When using a gcc back end that generates 64-bit code by default it's necessary to specify
the -m32 gcc compiler/linker option in the EDG eccp config file, edg_eccp_config.

> [EDG eccp/Linux] ld errno: TLS definition in /lib/libc.so.6 section .tbss mismatches
non-TLS reference in num_get.o
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: STDCXX-555
>                 URL: https://issues.apache.org/jira/browse/STDCXX-555
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Examples
>    Affects Versions: trunk
>         Environment: EDG eccp 3.9, gcc 4.1.2, glibc 2.5
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>            Priority: Blocker
>             Fix For: 4.2
>
>
> A few examples are failing with the error below. I'm marking it a blocker for 4.2 since
num_get is essential.
> $ make calc
> eccp -c -I/home/sebor/stdcxx-trunk/include/ansi -D_RWSTDDEBUG    -I/home/sebor/stdcxx-trunk/include
-I/build/sebor/stdcxx-trunk-eccp-3.9-11s/include -I/home/sebor/stdcxx-trunk/examples/include
 -A -x --template_directory=/build/sebor/stdcxx-trunk-eccp-3.9-11s/lib -g   --display_error_number
--remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815   /home/sebor/stdcxx-trunk/examples/tutorial/calc.cpp
> eccp calc.o -o calc --template_directory=/build/sebor/stdcxx-trunk-eccp-3.9-11s/lib 
  -L/build/sebor/stdcxx-trunk-eccp-3.9-11s/lib  -lstd11s  -lm 
> nm: t_exp.o: no symbols
> nm: e_rem_pio2.o: no symbols
> nm: k_cos.o: no symbols
> nm: k_rem_pio2.o: no symbols
> nm: k_sin.o: no symbols
> nm: s_scalbln.o: no symbols
> nm: e_rem_pio2f.o: no symbols
> nm: k_rem_pio2f.o: no symbols
> nm: s_scalblnf.o: no symbols
> nm: e_rem_pio2l.o: no symbols
> nm: k_rem_pio2l.o: no symbols
> nm: s_nexttowardl.o: no symbols
> nm: s_scalblnl.o: no symbols
> nm: t_sincosl.o: no symbols
> nm: k_sincosl.o: no symbols
> nm: branred.o: no symbols
> nm: doasin.o: no symbols
> nm: dosincos.o: no symbols
> nm: halfulp.o: no symbols
> nm: mpa.o: no symbols
> nm: mpatan2.o: no symbols
> nm: mpatan.o: no symbols
> nm: mpexp.o: no symbols
> nm: mplog.o: no symbols
> nm: mpsqrt.o: no symbols
> nm: mptan.o: no symbols
> nm: sincos32.o: no symbols
> nm: slowexp.o: no symbols
> nm: slowpow.o: no symbols
> /usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS
reference in /build/sebor/stdcxx-trunk-eccp-3.9-11s/lib/libstd11s.a(num_get.o)
> /lib/libc.so.6: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make: *** [calc] Error 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message