http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
--- Comment #12 from Kai Tietz 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
> c:/gcc-4.6-w
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
--- Comment #11 from Dongsheng Song
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
c:/gcc-4.6-windows/bin/../lib/gcc/i686-w64-mingw32/
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
Kai Tietz changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
--- Comment #9 from Dongsheng Song 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 b/ld/configure.in
index 2836545..b
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
--- Comment #8 from Kai Tietz 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 Windows.h, which can lead
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
--- Comment #7 from Dongsheng Song 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:
oracle@vc:~/vcs/git/binutils$ git log -1
commit c4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
--- Comment #6 from Kai Tietz 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 #5 from Dongsheng Song 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'?
>
> The fatal error in gcc.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
Kai Tietz changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
--- Comment #3 from Dongsheng Song 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: svn://gcc.gnu.org/svn/gcc
Repository UUID: 138bc75d
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
--- Comment #2 from Dongsheng Song 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 use the flag unconditionally,
>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528
Richard Guenther changed:
What|Removed |Added
Target||mingw64-*-*
--- Comment #1 from Richar
12 matches
Mail list logo