* debian/testing cannot compile static with gcc3.3.5
@ 2005-08-19 16:20 Stephane Eranian
2005-08-19 16:37 ` Andreas Schwab
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Stephane Eranian @ 2005-08-19 16:20 UTC (permalink / raw)
To: linux-ia64
Hello,
I recently upgraded my system to the latest testing.
Since then, I cannot comile any program with static linking:
$ cc hello.c -o hello -g -static
/usr/bin/ld: __libc_errno: TLS definition in /usr/lib/gcc-lib/ia64-linux/3.3.5/../../../libc.a(errno.o) section .tbss mismatches non-TLS reference in /usr/lib/gcc-lib/ia64-linux/3.3.5/../../../libc.a(check_fds.o)
/usr/lib/gcc-lib/ia64-linux/3.3.5/../../../libc.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
I have the following packages installed. So it seems that somehow libc6.1-dev
has a problem compared to the shared libc.
ii binutils 2.16.1-2 The GNU assembler, linker and binary utiliti
ii binutils-dev 2.16.1-2 The GNU binary utilities (BFD development fi
ii binutils-doc 2.15-5 Documentation for the GNU assembler, linker
ii libc6.1 2.3.2.ds1-22 GNU C Library: Shared libraries and Timezone
ii libc6.1-dbg 2.3.2.ds1-22 GNU C Library: Libraries with debugging symb
ii libc6.1-dev 2.3.2.ds1-22 GNU C Library: Development Libraries and Hea
ii libc6.1-pic 2.3.2.ds1-22 GNU C Library: PIC archive library
ii libc6.1-prof 2.3.2.ds1-22 GNU C Library: Profiling Libraries
ii gcc 3.3.5-1 The GNU C compiler
ii gcc-3.3 3.3.5-8 The GNU C compiler
ii gcc-3.3-base 3.3.5-8 The GNU Compiler Collection (base package)
ii gcc-3.4 3.4.3-6 The GNU C compiler
ii gcc-3.4-base 3.4.3-6 The GNU Compiler Collection (base package)
ii gcc-4.0 4.0.1-2 The GNU C compiler
ii gcc-4.0-base 4.0.1-2 The GNU Compiler Collection (base package)
ii libgcc1 4.0.1-2 GCC support library
--
-Stephane
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: debian/testing cannot compile static with gcc3.3.5
2005-08-19 16:20 debian/testing cannot compile static with gcc3.3.5 Stephane Eranian
@ 2005-08-19 16:37 ` Andreas Schwab
2005-08-19 18:35 ` Christoph Lameter
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Andreas Schwab @ 2005-08-19 16:37 UTC (permalink / raw)
To: linux-ia64
Stephane Eranian <eranian@hpl.hp.com> writes:
> Since then, I cannot comile any program with static linking:
What does this have to do with the kernel?
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: debian/testing cannot compile static with gcc3.3.5
2005-08-19 16:20 debian/testing cannot compile static with gcc3.3.5 Stephane Eranian
2005-08-19 16:37 ` Andreas Schwab
@ 2005-08-19 18:35 ` Christoph Lameter
2005-08-19 18:40 ` david mosberger
2005-08-19 22:49 ` Peter Chubb
3 siblings, 0 replies; 5+ messages in thread
From: Christoph Lameter @ 2005-08-19 18:35 UTC (permalink / raw)
To: linux-ia64
On Fri, 19 Aug 2005, Stephane Eranian wrote:
> I recently upgraded my system to the latest testing.
> Since then, I cannot comile any program with static linking:
>
> $ cc hello.c -o hello -g -static
> /usr/bin/ld: __libc_errno: TLS definition in /usr/lib/gcc-lib/ia64-linux/3.3.5/../../../libc.a(errno.o) section .tbss mismatches non-TLS reference in /usr/lib/gcc-lib/ia64-linux/3.3.5/../../../libc.a(check_fds.o)
> /usr/lib/gcc-lib/ia64-linux/3.3.5/../../../libc.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
gcc-4.0 issue? Try rebuilding glibc.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: debian/testing cannot compile static with gcc3.3.5
2005-08-19 16:20 debian/testing cannot compile static with gcc3.3.5 Stephane Eranian
2005-08-19 16:37 ` Andreas Schwab
2005-08-19 18:35 ` Christoph Lameter
@ 2005-08-19 18:40 ` david mosberger
2005-08-19 22:49 ` Peter Chubb
3 siblings, 0 replies; 5+ messages in thread
From: david mosberger @ 2005-08-19 18:40 UTC (permalink / raw)
To: linux-ia64
I'm running Debian/unstable and static linking of a dummy hello world
program works fine, both with gcc 3.3.6 and gcc 4.0.2.
debian-ia64@lists.debian.org might be a better place to take this
discussion, though.
--david
On 8/19/05, Stephane Eranian <eranian@hpl.hp.com> wrote:
> Hello,
>
> I recently upgraded my system to the latest testing.
> Since then, I cannot comile any program with static linking:
>
> $ cc hello.c -o hello -g -static
> /usr/bin/ld: __libc_errno: TLS definition in /usr/lib/gcc-lib/ia64-linux/3.3.5/../../../libc.a(errno.o) section .tbss mismatches non-TLS reference in /usr/lib/gcc-lib/ia64-linux/3.3.5/../../../libc.a(check_fds.o)
> /usr/lib/gcc-lib/ia64-linux/3.3.5/../../../libc.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
>
> I have the following packages installed. So it seems that somehow libc6.1-dev
> has a problem compared to the shared libc.
>
> ii binutils 2.16.1-2 The GNU assembler, linker and binary utiliti
> ii binutils-dev 2.16.1-2 The GNU binary utilities (BFD development fi
> ii binutils-doc 2.15-5 Documentation for the GNU assembler, linker
> ii libc6.1 2.3.2.ds1-22 GNU C Library: Shared libraries and Timezone
> ii libc6.1-dbg 2.3.2.ds1-22 GNU C Library: Libraries with debugging symb
> ii libc6.1-dev 2.3.2.ds1-22 GNU C Library: Development Libraries and Hea
> ii libc6.1-pic 2.3.2.ds1-22 GNU C Library: PIC archive library
> ii libc6.1-prof 2.3.2.ds1-22 GNU C Library: Profiling Libraries
> ii gcc 3.3.5-1 The GNU C compiler
> ii gcc-3.3 3.3.5-8 The GNU C compiler
> ii gcc-3.3-base 3.3.5-8 The GNU Compiler Collection (base package)
> ii gcc-3.4 3.4.3-6 The GNU C compiler
> ii gcc-3.4-base 3.4.3-6 The GNU Compiler Collection (base package)
> ii gcc-4.0 4.0.1-2 The GNU C compiler
> ii gcc-4.0-base 4.0.1-2 The GNU Compiler Collection (base package)
> ii libgcc1 4.0.1-2 GCC support library
>
> --
>
> -Stephane
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Mosberger Consulting LLC, voice/fax: 510-744-9372,
http://www.mosberger-consulting.com/
35706 Runckel Lane, Fremont, CA 94536
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: debian/testing cannot compile static with gcc3.3.5
2005-08-19 16:20 debian/testing cannot compile static with gcc3.3.5 Stephane Eranian
` (2 preceding siblings ...)
2005-08-19 18:40 ` david mosberger
@ 2005-08-19 22:49 ` Peter Chubb
3 siblings, 0 replies; 5+ messages in thread
From: Peter Chubb @ 2005-08-19 22:49 UTC (permalink / raw)
To: linux-ia64
>>>>> "Stephane" = Stephane Eranian <eranian@hpl.hp.com> writes:
Stephane> Hello, I recently upgraded my system to the latest testing.
Stephane> Since then, I cannot comile any program with static linking:
It's a glibc bug. Get a glibc after 2.3.5.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug19115
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
The technical we do immediately, the political takes *forever*
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-08-19 22:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-19 16:20 debian/testing cannot compile static with gcc3.3.5 Stephane Eranian
2005-08-19 16:37 ` Andreas Schwab
2005-08-19 18:35 ` Christoph Lameter
2005-08-19 18:40 ` david mosberger
2005-08-19 22:49 ` Peter Chubb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox