* [Bug target/56975] [regression] dllimport broken on i686-pc-cygwin
2013-04-16 8:00 [Bug target/56975] New: [regression] dllimport broken on i686-pc-cygwin davek at gcc dot gnu.org
@ 2013-04-16 9:37 ` ktietz at gcc dot gnu.org
2013-04-17 2:31 ` alexpux at gmail dot com
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-04-16 9:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56975
Kai Tietz <ktietz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ktietz at gcc dot gnu.org
--- Comment #1 from Kai Tietz <ktietz at gcc dot gnu.org> 2013-04-16 09:37:38 UTC ---
Hmm, as this bug seems not to happen for mingw 32-bit, it might be related to
definition of DEFAULT_ABI for 32-bit. Does it help to set in cygming.h header
the line '#define DEFAULT_ABI (TARGET_64BIT ? MS_ABI : SYSV_ABI)' to '#define
DEFAULT_ABI (TARGET_64BIT ? MS_ABI : MS_ABI)' ?
If so, we need an new definition to indicate pe-coff ABI instead. At some
places we are using here check DEFAULT_ABI == MS_ABI etc, which might cause for
32-bit here the issue. See for example the code in predicate.md, i386.c, etc.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/56975] [regression] dllimport broken on i686-pc-cygwin
2013-04-16 8:00 [Bug target/56975] New: [regression] dllimport broken on i686-pc-cygwin davek at gcc dot gnu.org
2013-04-16 9:37 ` [Bug target/56975] " ktietz at gcc dot gnu.org
@ 2013-04-17 2:31 ` alexpux at gmail dot com
2013-04-18 15:58 ` jojelino at gmail dot com
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: alexpux at gmail dot com @ 2013-04-17 2:31 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56975
Alexey Pavlov <alexpux at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alexpux at gmail dot com
--- Comment #2 from Alexey Pavlov <alexpux at gmail dot com> 2013-04-17 02:31:41 UTC ---
I try to change line in cygming.h. Now It doesn't show error but xgcc processes
freezing alltime and build cannot be done.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/56975] [regression] dllimport broken on i686-pc-cygwin
2013-04-16 8:00 [Bug target/56975] New: [regression] dllimport broken on i686-pc-cygwin davek at gcc dot gnu.org
2013-04-16 9:37 ` [Bug target/56975] " ktietz at gcc dot gnu.org
2013-04-17 2:31 ` alexpux at gmail dot com
@ 2013-04-18 15:58 ` jojelino at gmail dot com
2013-04-18 18:19 ` ktietz at gcc dot gnu.org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jojelino at gmail dot com @ 2013-04-18 15:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56975
gee <jojelino at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jojelino at gmail dot com
--- Comment #3 from gee <jojelino at gmail dot com> 2013-04-18 15:58:53 UTC ---
*** Bug 56952 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/56975] [regression] dllimport broken on i686-pc-cygwin
2013-04-16 8:00 [Bug target/56975] New: [regression] dllimport broken on i686-pc-cygwin davek at gcc dot gnu.org
` (2 preceding siblings ...)
2013-04-18 15:58 ` jojelino at gmail dot com
@ 2013-04-18 18:19 ` ktietz at gcc dot gnu.org
2013-04-19 4:56 ` alexpux at gmail dot com
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-04-18 18:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56975
--- Comment #5 from Kai Tietz <ktietz at gcc dot gnu.org> 2013-04-18 18:19:28 UTC ---
Created attachment 29898
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29898
Patch for supporting cygwin32's SYSV_ABI proper
This patch should fix the reported issue.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/56975] [regression] dllimport broken on i686-pc-cygwin
2013-04-16 8:00 [Bug target/56975] New: [regression] dllimport broken on i686-pc-cygwin davek at gcc dot gnu.org
` (3 preceding siblings ...)
2013-04-18 18:19 ` ktietz at gcc dot gnu.org
@ 2013-04-19 4:56 ` alexpux at gmail dot com
2013-04-19 8:18 ` ktietz at gcc dot gnu.org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: alexpux at gmail dot com @ 2013-04-19 4:56 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56975
--- Comment #6 from Alexey Pavlov <alexpux at gmail dot com> 2013-04-19 04:56:31 UTC ---
With your patch I also has freeze xgcc on building stage2
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/56975] [regression] dllimport broken on i686-pc-cygwin
2013-04-16 8:00 [Bug target/56975] New: [regression] dllimport broken on i686-pc-cygwin davek at gcc dot gnu.org
` (4 preceding siblings ...)
2013-04-19 4:56 ` alexpux at gmail dot com
@ 2013-04-19 8:18 ` ktietz at gcc dot gnu.org
2013-04-19 14:26 ` jojelino at gmail dot com
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-04-19 8:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56975
--- Comment #7 from Kai Tietz <ktietz at gcc dot gnu.org> 2013-04-19 08:18:13 UTC ---
At what place it freezes? Can you provide a testcase? Are you sure it is
really related to the patch? What makes you think that?
All in all, what I mean about those questions is that it isn't helpful to tell
such statements without even trying to narrow it down to its reason.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/56975] [regression] dllimport broken on i686-pc-cygwin
2013-04-16 8:00 [Bug target/56975] New: [regression] dllimport broken on i686-pc-cygwin davek at gcc dot gnu.org
` (5 preceding siblings ...)
2013-04-19 8:18 ` ktietz at gcc dot gnu.org
@ 2013-04-19 14:26 ` jojelino at gmail dot com
2013-04-19 18:18 ` davek at gcc dot gnu.org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jojelino at gmail dot com @ 2013-04-19 14:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56975
--- Comment #8 from gee <jojelino at gmail dot com> 2013-04-19 14:26:15 UTC ---
Created attachment 29904
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29904
Patch for supporting cygwin32's SYSV_ABI proper - Fixed a hunk fail
(In reply to comment #7)
> At what place it freezes? Can you provide a testcase? Are you sure it is
> really related to the patch? What makes you think that?
>
> All in all, what I mean about those questions is that it isn't helpful to tell
> such statements without even trying to narrow it down to its reason.
The attachment 29898 fixed the problem.
there is a hunk failure so I uploaded another attachment that workarounds the
failure.
Thanks!
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/56975] [regression] dllimport broken on i686-pc-cygwin
2013-04-16 8:00 [Bug target/56975] New: [regression] dllimport broken on i686-pc-cygwin davek at gcc dot gnu.org
` (6 preceding siblings ...)
2013-04-19 14:26 ` jojelino at gmail dot com
@ 2013-04-19 18:18 ` davek at gcc dot gnu.org
2013-04-21 10:12 ` alexpux at gmail dot com
2013-05-13 19:52 ` ktietz at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: davek at gcc dot gnu.org @ 2013-04-19 18:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56975
--- Comment #9 from Dave Korn <davek at gcc dot gnu.org> 2013-04-19 18:18:19 UTC ---
Kai's patch applied cleanly for me vs. Revision: 197992 and allowed my failed
build to proceed as far as stage 3 where it failed on libjava (known issue).
I'm going to rerun the build from clean and try some tests.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/56975] [regression] dllimport broken on i686-pc-cygwin
2013-04-16 8:00 [Bug target/56975] New: [regression] dllimport broken on i686-pc-cygwin davek at gcc dot gnu.org
` (7 preceding siblings ...)
2013-04-19 18:18 ` davek at gcc dot gnu.org
@ 2013-04-21 10:12 ` alexpux at gmail dot com
2013-05-13 19:52 ` ktietz at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: alexpux at gmail dot com @ 2013-04-21 10:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56975
--- Comment #10 from Alexey Pavlov <alexpux at gmail dot com> 2013-04-21 10:12:35 UTC ---
When building GCC stage2 when building with bootstrap or when building GCC with
prebuilded GCC-4.8.0 without bootstrap I have error configuring libgcc:
configure:3378: /work/build32/gcc48/./gcc/xgcc -B/work/build32/gcc48/./gcc/
-B/usr/i686-pc-cygwin/bin/ -B/usr/i686-pc-cygwin/lib/ -isystem
/usr/i686-pc-cygwin/include -isystem /usr/i686-pc-cygwin/sys-include -o
conftest -g -O2 conftest.c >&5
Analyzing compilation unit
Performing interprocedural optimizations
<*free_lang_data> <visibility> <early_local_cleanups> <*free_inline_summary>
<emutls> <whole-program>Assembling functions:
Execution times (seconds)
phase setup : 0.01 (100%) usr 0.00 ( 0%) sys 0.02 (100%)
wall 517 kB (89%) ggc
TOTAL : 0.01 0.00 0.02
581 kB
xgcc: error: spawn: No such file or directory
configure:3381: $? = 0
configure:3410: checking for C compiler default output file name
configure:3432: /work/build32/gcc48/./gcc/xgcc -B/work/build32/gcc48/./gcc/
-B/usr/i686-pc-cygwin/bin/ -B/usr/i686-pc-cygwin/lib/ -isystem
/usr/i686-pc-cygwin/include -isystem /usr/i686-pc-cygwin/sys-include -g -O2
conftest.c >&5
Analyzing compilation unit
Performing interprocedural optimizations
<*free_lang_data> <visibility> <early_local_cleanups> <*free_inline_summary>
<emutls> <whole-program>Assembling functions:
Execution times (seconds)
TOTAL : 0.00 0.00 0.00
581 kB
xgcc: error: spawn: No such file or directory
configure:3436: $? = 0
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/56975] [regression] dllimport broken on i686-pc-cygwin
2013-04-16 8:00 [Bug target/56975] New: [regression] dllimport broken on i686-pc-cygwin davek at gcc dot gnu.org
` (8 preceding siblings ...)
2013-04-21 10:12 ` alexpux at gmail dot com
@ 2013-05-13 19:52 ` ktietz at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-05-13 19:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56975
Kai Tietz <ktietz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #11 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 11+ messages in thread