public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug plugins/47223] New: Fail to build gcc 4.6.0 (r168594) on mingw32
@ 2011-01-08 10:04 coolypf at qq dot com
  2011-01-08 14:38 ` [Bug plugins/47223] " d.g.gorbachev at gmail dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 15+ messages in thread
From: coolypf at qq dot com @ 2011-01-08 10:04 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47223

           Summary: Fail to build gcc 4.6.0 (r168594) on mingw32
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: plugins
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: coolypf@qq.com


configured with '--disable-shared'
so lto-plugin built as static library
when configuring target libgcc
failed with 'liblto_plugin-0.dll not found' error

I think there is something wrong with the option checking in gcc/gcc.c (line
6812)
LTOPLUGINSONAME is invalid when configured with '--disable-shared'
because there is no dynamic library


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug plugins/47223] Fail to build gcc 4.6.0 (r168594) on mingw32
  2011-01-08 10:04 [Bug plugins/47223] New: Fail to build gcc 4.6.0 (r168594) on mingw32 coolypf at qq dot com
@ 2011-01-08 14:38 ` d.g.gorbachev at gmail dot com
  2011-01-08 14:42   ` Jan Hubicka
  2011-01-08 14:54 ` hubicka at ucw dot cz
                   ` (7 subsequent siblings)
  8 siblings, 1 reply; 15+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2011-01-08 14:38 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47223

--- Comment #1 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2011-01-08 14:01:47 UTC ---
Try to configure with `--disable-shared --enable-shared=lto-plugin'.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Bug plugins/47223] Fail to build gcc 4.6.0 (r168594) on mingw32
  2011-01-08 14:38 ` [Bug plugins/47223] " d.g.gorbachev at gmail dot com
@ 2011-01-08 14:42   ` Jan Hubicka
  0 siblings, 0 replies; 15+ messages in thread
From: Jan Hubicka @ 2011-01-08 14:42 UTC (permalink / raw)
  To: d.g.gorbachev at gmail dot com; +Cc: gcc-bugs

What is the failure?

Honza


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug plugins/47223] Fail to build gcc 4.6.0 (r168594) on mingw32
  2011-01-08 10:04 [Bug plugins/47223] New: Fail to build gcc 4.6.0 (r168594) on mingw32 coolypf at qq dot com
  2011-01-08 14:38 ` [Bug plugins/47223] " d.g.gorbachev at gmail dot com
@ 2011-01-08 14:54 ` hubicka at ucw dot cz
  2011-01-08 14:56 ` coolypf at qq dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: hubicka at ucw dot cz @ 2011-01-08 14:54 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47223

--- Comment #2 from Jan Hubicka <hubicka at ucw dot cz> 2011-01-08 14:38:20 UTC ---
What is the failure?

Honza


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug plugins/47223] Fail to build gcc 4.6.0 (r168594) on mingw32
  2011-01-08 10:04 [Bug plugins/47223] New: Fail to build gcc 4.6.0 (r168594) on mingw32 coolypf at qq dot com
  2011-01-08 14:38 ` [Bug plugins/47223] " d.g.gorbachev at gmail dot com
  2011-01-08 14:54 ` hubicka at ucw dot cz
@ 2011-01-08 14:56 ` coolypf at qq dot com
  2011-01-08 15:05   ` Jan Hubicka
  2011-01-08 15:12 ` coolypf at qq dot com
                   ` (5 subsequent siblings)
  8 siblings, 1 reply; 15+ messages in thread
From: coolypf at qq dot com @ 2011-01-08 14:56 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47223

--- Comment #3 from coolypf <coolypf at qq dot com> 2011-01-08 14:42:14 UTC ---
(In reply to comment #2)
> What is the failure?
> 
> Honza

when configuring target-libgcc,
failed with xgcc cannot create executable
config.log shows 'liblto_plugin-0.dll not found'
maybe -fuse-linker-plugin option not handled correctly


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Bug plugins/47223] Fail to build gcc 4.6.0 (r168594) on mingw32
  2011-01-08 14:56 ` coolypf at qq dot com
@ 2011-01-08 15:05   ` Jan Hubicka
  0 siblings, 0 replies; 15+ messages in thread
From: Jan Hubicka @ 2011-01-08 15:05 UTC (permalink / raw)
  To: coolypf at qq dot com; +Cc: gcc-bugs

> when configuring target-libgcc,
> failed with xgcc cannot create executable
> config.log shows 'liblto_plugin-0.dll not found'
> maybe -fuse-linker-plugin option not handled correctly

Yes, it seems that linker plugin handling on cygwin is not done well.
Is linker plugin built for you and does the linker support it?

Honza


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug plugins/47223] Fail to build gcc 4.6.0 (r168594) on mingw32
  2011-01-08 10:04 [Bug plugins/47223] New: Fail to build gcc 4.6.0 (r168594) on mingw32 coolypf at qq dot com
                   ` (3 preceding siblings ...)
  2011-01-08 15:12 ` coolypf at qq dot com
@ 2011-01-08 15:12 ` hubicka at ucw dot cz
  2011-01-08 15:32 ` hubicka at ucw dot cz
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: hubicka at ucw dot cz @ 2011-01-08 15:12 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47223

--- Comment #4 from Jan Hubicka <hubicka at ucw dot cz> 2011-01-08 14:56:10 UTC ---
> when configuring target-libgcc,
> failed with xgcc cannot create executable
> config.log shows 'liblto_plugin-0.dll not found'
> maybe -fuse-linker-plugin option not handled correctly

Yes, it seems that linker plugin handling on cygwin is not done well.
Is linker plugin built for you and does the linker support it?

Honza


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug plugins/47223] Fail to build gcc 4.6.0 (r168594) on mingw32
  2011-01-08 10:04 [Bug plugins/47223] New: Fail to build gcc 4.6.0 (r168594) on mingw32 coolypf at qq dot com
                   ` (2 preceding siblings ...)
  2011-01-08 14:56 ` coolypf at qq dot com
@ 2011-01-08 15:12 ` coolypf at qq dot com
  2011-01-08 15:25   ` Jan Hubicka
  2011-01-08 15:12 ` hubicka at ucw dot cz
                   ` (4 subsequent siblings)
  8 siblings, 1 reply; 15+ messages in thread
From: coolypf at qq dot com @ 2011-01-08 15:12 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47223

--- Comment #5 from coolypf <coolypf at qq dot com> 2011-01-08 15:05:29 UTC ---
(In reply to comment #4)
> > when configuring target-libgcc,
> > failed with xgcc cannot create executable
> > config.log shows 'liblto_plugin-0.dll not found'
> > maybe -fuse-linker-plugin option not handled correctly
> 
> Yes, it seems that linker plugin handling on cygwin is not done well.
> Is linker plugin built for you and does the linker support it?
> 
> Honza

lto and linker plugin was OK in 20110101 snapshot
in which '-fuse-linker-plugin' was off by default
but in rev 168594, the option becomes on by default

this option causes checking LTOPLUGINSONAME in gcc/gcc.c (line
6812 around), which is not built with '--disable-shared'

something is wrong either with makefile or with gcc/gcc.c


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Bug plugins/47223] Fail to build gcc 4.6.0 (r168594) on mingw32
  2011-01-08 15:12 ` coolypf at qq dot com
@ 2011-01-08 15:25   ` Jan Hubicka
  2011-01-08 19:00     ` Jan Hubicka
  0 siblings, 1 reply; 15+ messages in thread
From: Jan Hubicka @ 2011-01-08 15:25 UTC (permalink / raw)
  To: coolypf at qq dot com; +Cc: gcc-bugs

> lto and linker plugin was OK in 20110101 snapshot
> in which '-fuse-linker-plugin' was off by default
> but in rev 168594, the option becomes on by default

Yes, I've changed the default when linker is detected to have linker support and
lto-plugin is build.
> 
> this option causes checking LTOPLUGINSONAME in gcc/gcc.c (line
> 6812 around), which is not built with '--disable-shared'
> 
> something is wrong either with makefile or with gcc/gcc.c
How this worked before?
On windows I would expect LTOPLUGINSONAME to point to the plugin DLL...

Honza


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug plugins/47223] Fail to build gcc 4.6.0 (r168594) on mingw32
  2011-01-08 10:04 [Bug plugins/47223] New: Fail to build gcc 4.6.0 (r168594) on mingw32 coolypf at qq dot com
                   ` (4 preceding siblings ...)
  2011-01-08 15:12 ` hubicka at ucw dot cz
@ 2011-01-08 15:32 ` hubicka at ucw dot cz
  2011-01-08 19:15 ` hubicka at ucw dot cz
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: hubicka at ucw dot cz @ 2011-01-08 15:32 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47223

--- Comment #6 from Jan Hubicka <hubicka at ucw dot cz> 2011-01-08 15:17:54 UTC ---
> lto and linker plugin was OK in 20110101 snapshot
> in which '-fuse-linker-plugin' was off by default
> but in rev 168594, the option becomes on by default

Yes, I've changed the default when linker is detected to have linker support
and
lto-plugin is build.
> 
> this option causes checking LTOPLUGINSONAME in gcc/gcc.c (line
> 6812 around), which is not built with '--disable-shared'
> 
> something is wrong either with makefile or with gcc/gcc.c
How this worked before?
On windows I would expect LTOPLUGINSONAME to point to the plugin DLL...

Honza


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Bug plugins/47223] Fail to build gcc 4.6.0 (r168594) on mingw32
  2011-01-08 15:25   ` Jan Hubicka
@ 2011-01-08 19:00     ` Jan Hubicka
  2011-01-08 19:17       ` Jan Hubicka
  0 siblings, 1 reply; 15+ messages in thread
From: Jan Hubicka @ 2011-01-08 19:00 UTC (permalink / raw)
  To: Jan Hubicka; +Cc: coolypf at qq dot com, gcc-bugs

Hi,
is this dup of PR47225?  I.e. is the --disable-shared the problem?

Honza


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug plugins/47223] Fail to build gcc 4.6.0 (r168594) on mingw32
  2011-01-08 10:04 [Bug plugins/47223] New: Fail to build gcc 4.6.0 (r168594) on mingw32 coolypf at qq dot com
                   ` (5 preceding siblings ...)
  2011-01-08 15:32 ` hubicka at ucw dot cz
@ 2011-01-08 19:15 ` hubicka at ucw dot cz
  2011-01-08 19:20 ` hubicka at ucw dot cz
  2011-01-11 13:05 ` rguenth at gcc dot gnu.org
  8 siblings, 0 replies; 15+ messages in thread
From: hubicka at ucw dot cz @ 2011-01-08 19:15 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47223

--- Comment #7 from Jan Hubicka <hubicka at ucw dot cz> 2011-01-08 18:58:46 UTC ---
Hi,
is this dup of PR47225?  I.e. is the --disable-shared the problem?

Honza


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Bug plugins/47223] Fail to build gcc 4.6.0 (r168594) on mingw32
  2011-01-08 19:00     ` Jan Hubicka
@ 2011-01-08 19:17       ` Jan Hubicka
  0 siblings, 0 replies; 15+ messages in thread
From: Jan Hubicka @ 2011-01-08 19:17 UTC (permalink / raw)
  To: Jan Hubicka; +Cc: coolypf at qq dot com, gcc-bugs

Hi,
I posed patch to the aforementioned PR, hopefully it will fix this one too.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug plugins/47223] Fail to build gcc 4.6.0 (r168594) on mingw32
  2011-01-08 10:04 [Bug plugins/47223] New: Fail to build gcc 4.6.0 (r168594) on mingw32 coolypf at qq dot com
                   ` (6 preceding siblings ...)
  2011-01-08 19:15 ` hubicka at ucw dot cz
@ 2011-01-08 19:20 ` hubicka at ucw dot cz
  2011-01-11 13:05 ` rguenth at gcc dot gnu.org
  8 siblings, 0 replies; 15+ messages in thread
From: hubicka at ucw dot cz @ 2011-01-08 19:20 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47223

--- Comment #8 from Jan Hubicka <hubicka at ucw dot cz> 2011-01-08 19:16:09 UTC ---
Hi,
I posed patch to the aforementioned PR, hopefully it will fix this one too.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug plugins/47223] Fail to build gcc 4.6.0 (r168594) on mingw32
  2011-01-08 10:04 [Bug plugins/47223] New: Fail to build gcc 4.6.0 (r168594) on mingw32 coolypf at qq dot com
                   ` (7 preceding siblings ...)
  2011-01-08 19:20 ` hubicka at ucw dot cz
@ 2011-01-11 13:05 ` rguenth at gcc dot gnu.org
  8 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-01-11 13:05 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47223

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #9 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-11 13:04:30 UTC ---
dup

*** This bug has been marked as a duplicate of bug 47225 ***


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2011-01-11 13:04 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-08 10:04 [Bug plugins/47223] New: Fail to build gcc 4.6.0 (r168594) on mingw32 coolypf at qq dot com
2011-01-08 14:38 ` [Bug plugins/47223] " d.g.gorbachev at gmail dot com
2011-01-08 14:42   ` Jan Hubicka
2011-01-08 14:54 ` hubicka at ucw dot cz
2011-01-08 14:56 ` coolypf at qq dot com
2011-01-08 15:05   ` Jan Hubicka
2011-01-08 15:12 ` coolypf at qq dot com
2011-01-08 15:25   ` Jan Hubicka
2011-01-08 19:00     ` Jan Hubicka
2011-01-08 19:17       ` Jan Hubicka
2011-01-08 15:12 ` hubicka at ucw dot cz
2011-01-08 15:32 ` hubicka at ucw dot cz
2011-01-08 19:15 ` hubicka at ucw dot cz
2011-01-08 19:20 ` hubicka at ucw dot cz
2011-01-11 13:05 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).