Article View: gnu.gcc.help
Article #42286Re: gcc 2.7.0 ELF problem
From: H.J. Lu
Date: Thu, 21 Dec 1995 00:00
Date: Thu, 21 Dec 1995 00:00
23 lines
1710 bytes
1710 bytes
In article <4bb61k$255@segfault.monkeys.com>, rfg@monkeys.com (Ronald F. Guilmette) writes: [....] |> As it turns out, this is a NOT a problem with either GCC or the assembler |> or the linker. It has been reported to me that the problem is due to |> a rather serious bug in the linux C library (ELF version). It apparently |> fails to properly export its symbols as ELF ``weak linkage'' symbols |> (as all good ELF libc libraries should). |> |> I have been assured (by H.J. Lu, maintainer of the linux C library) that |> this problem in the library will be fixed in the next release of the |> library. For the time being, the simplest workaround is just to avoid |> using the names of libc library functions in your own programs (e.g. |> as names of your own global variables or functions). Libc 5.2.18 fixes some symbols, sync is one of them. But there are so many to go. Also I'd like to support MT in one library without adding much overhead to single thread programs. It is kind of very complicated. On top of these, I am in the middle of relocating. I don't know when I can resume working on libc :-(. H.J.
Technical Details
Message-ID:
<4bbm2p$ro5@news.nynexst.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<DJH3J0.5s@temic-ech.spacenet.de> <4bb61k$255@segfault.monkeys.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,5ff2217ff6c2d590 X-Google-Attributes: gid11318c,public X-Google-Thread: f5392,de3537fad1cb676d X-Google-Attributes: gidf5392,public From: hjl@gnu.ai.mit.edu (H.J. Lu) Subject: Re: gcc 2.7.0 ELF problem Date: 1995/12/21 Message-ID: <4bbm2p$ro5@news.nynexst.com> X-Deja-AN: 122475256 distribution: world references: <DJH3J0.5s@temic-ech.spacenet.de> <4bb61k$255@segfault.monkeys.com> organization: Nynex Science & Technology, Inc. newsgroups: gnu.gcc.help,comp.os.linux.development.system