This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/48245] FAIL: gcc.dg/lto/pr46940 c_lto_pr46940_0.o assemble on *-apple-darwin*
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Mar 2011 14:56:44 -0000
- Subject: [Bug testsuite/48245] FAIL: gcc.dg/lto/pr46940 c_lto_pr46940_0.o assemble on *-apple-darwin*
- Auto-submitted: auto-generated
- References: <bug-48245-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48245
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-03-23 14:56:37 UTC ---
> Which linker do you use, and what's the value of HAVE_LTO_PLUGIN in
> gcc/auto-host.h? Could you check the gcc/config.log snippet for the
> linker plugin support test.
>
> If, as I assume, you're using the Darwin linker, HAVE_LTO_PLUGIN should
> be 0 and you should get the following error for the linker_plugin test:
>
> gcc: error: -fuse-linker-plugin is not supported in this configuration
The linker is
@(#)PROGRAM:ld PROJECT:ld64-97.17
llvm version 2.9svn, from Apple Clang 1.7 (build 77)
on x86_64-apple-darwin10.7.0, and
@(#)PROGRAM:ld PROJECT:ld64-85.2.1
on powerpc-apple-darwin9.
In gcc/auto-host.h I have
...
/* Define to the level of your linker's plugin support. */
#ifndef USED_FOR_TARGET
#define HAVE_LTO_PLUGIN 0
#endif
...
and in gcc/config.log
...
| #define LTOPLUGINSONAME "liblto_plugin.so"
...
configure:23133: checking linker plugin support
configure:23163: result: 0
...
gcc_cv_lto_plugin=0
...
enable_plugin='yes'
...
pluginlibs=''
...
#define LTOPLUGINSONAME "liblto_plugin.so"
...
I have grepped the different *.log files, but I did not see any
gcc: error: -fuse-linker-plugin is not supported in this configuration