http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
--- Comment #6 from Kai Tietz ktietz at gcc dot gnu.org 2011-02-08 08:03:22
UTC ---
Just out of interest. What binutils version you are using? As error message
indicates that the ld tool doesn't recognize -plugin command.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
--- Comment #7 from Dongsheng Song dongsheng.song at gmail dot com 2011-02-08
08:56:26 UTC ---
The source of binutils for native compiler same as the cross building compiler,
so I think this maybe an autotools bug of binutils:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
--- Comment #8 from Kai Tietz ktietz at gcc dot gnu.org 2011-02-08 09:25:38
UTC ---
Is binutils build using option '--enable-plugins'? It is worth a try. AFAICS is
there in ld's configure.ac a quirk about the header-check windows.h. It uses
here
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
--- Comment #9 from Dongsheng Song dongsheng.song at gmail dot com 2011-02-08
10:04:25 UTC ---
Thanks, with the following patch (Windows.h = windows.h),
the building OK now:
$ git diff ld/configure.in ld/plugin.c
diff --git a/ld/configure.in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
Kai Tietz ktietz at gcc dot gnu.org changed:
What|Removed |Added
Status|WAITING |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
--- Comment #11 from Dongsheng Song dongsheng.song at gmail dot com
2011-02-08 11:04:32 UTC ---
I don't known where I report the following issue:
C:\gcc -O2 -pipe Hello.c
C:\a
Hello, World!
C:\gcc -O2 -pipe -flto Hello.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
--- Comment #12 from Kai Tietz ktietz at gcc dot gnu.org 2011-02-08 11:14:09
UTC ---
(In reply to comment #11)
I don't known where I report the following issue:
C:\gcc -O2 -pipe Hello.c
C:\a
Hello, World!
C:\gcc -O2 -pipe -flto Hello.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
--- Comment #5 from Dongsheng Song dongsheng.song at gmail dot com 2011-02-08
06:41:50 UTC ---
(In reply to comment #4)
Does it help on cross-compile to do after 'make all-gcc make install-gcc'
to
do additionally 'make install-lto-plugin'?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
Kai Tietz ktietz at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
Richard Guenther rguenth at gcc dot gnu.org changed:
What|Removed |Added
Target||mingw64-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
--- Comment #2 from Dongsheng Song dongsheng.song at gmail dot com 2011-01-31
14:34:07 UTC ---
(In reply to comment #1)
I think you use an old GCC snapshot (if you didn't pass -fuse-linker-plugin
manually). That said, your target should not
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
--- Comment #3 from Dongsheng Song dongsheng.song at gmail dot com 2011-02-01
07:28:37 UTC ---
Confirmed,
$ svn info ${GCC_SOURCE_DIR}
Path: /home/oracle/vcs/svn/gcc/trunk
URL: svn://gcc.gnu.org/svn/gcc/trunk
Repository Root:
12 matches
Mail list logo