This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Build gcc-4.8.2 error -- gcc-4.8.1/x86_64-unknown-linux-gnu/libgomp
- From: Andrew Haley <aph at redhat dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: GHui <ugiwgh at gmail dot com>, gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Tue, 22 Oct 2013 14:42:28 +0100
- Subject: Re: Build gcc-4.8.2 error -- gcc-4.8.1/x86_64-unknown-linux-gnu/libgomp
- Authentication-results: sourceware.org; auth=none
- References: <tencent_03FEA93A0BFA440250B84006 at qq dot com> <CAKOQZ8wbfmVwGUWSq6Z++CXoSGuC_M97Qmh2cRAP8xRYWrRsQg at mail dot gmail dot com>
On 10/22/2013 02:00 PM, Ian Lance Taylor wrote:
> On Mon, Oct 21, 2013 at 11:35 PM, GHui <ugiwgh@gmail.com> wrote:
>>
>> -lc (/lib/../lib64/libc.so)
>
> /lib64/libc.so is an implausible file on a GNU/Linux system.
No. It exists on my Red Hat Enterprise Linux system. It looks like
this:
$ cat /lib64/libc.so
/* GNU ld script
Use the shared library, but some functions are only in
the static library, so try that secondarily. */
OUTPUT_FORMAT(elf64-x86-64)
GROUP ( /lib64/libc.so.6 /usr/lib64/libc_nonshared.a AS_NEEDED ( /lib64/ld-linux-x86-64.so.2 ) )
Andrew.