This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Discussion about merging Go frontend


On 03/11/2010 01:25, Dave Korn wrote:

>   Revised patch attached.  Changed top-level configury only; revised changelog
> entry reads:
> 
> ChangeLog:
> 
> 	* configure.ac: Remove libelf tests.  Build lto-plugin on ELF always
> 	and on other supported platforms whenever LTO is enabled.
> 	* configure: Rebuild.
> 
>   Rest of it as before(*).  Bootstrap+tests running.

  Something went wrong:

> Executing on host: /home/davek/gcc/obj/gcc/xgcc -B/home/davek/gcc/obj/gcc/
> linker_plugin10991.c -flto -fuse-linker-plugin -o linker_plugin10991.exe
> (timeout = 300)
> gold: fatal error: /usr/lib/../lib64/libc.so: file not recognized
> collect2: ld returned 1 exit status
> compiler exited with status 1
> output is:
> gold: fatal error: /usr/lib/../lib64/libc.so: file not recognized
> collect2: ld returned 1 exit status
> 
> UNSUPPORTED: /n/10/davek/gcc/gcc/gcc/testsuite/gcc.dg/lto/20100722-1_0.c

  The libc.so in question is a linker script:

> davek@gcc10:~/state/patched/2010_11_03_02_55_55/patched$ cat /usr/lib/../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 ( /lib/libc.so.6 /usr/lib/libc_nonshared.a  AS_NEEDED ( /lib/ld-linux-x86-64.so.2 ) )

  Unfortunately I didn't think to use the -savecompilers option, so I'll have
to build it again before I can figure out what went wrong.

    cheers,
      DaveK


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]