public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/28968] gcc/config/i386/winnt-stubs.c is not linked in -> build fails
       [not found] <bug-28968-4@http.gcc.gnu.org/bugzilla/>
@ 2012-11-09 22:17 ` steven at gcc dot gnu.org
  0 siblings, 0 replies; 7+ messages in thread
From: steven at gcc dot gnu.org @ 2012-11-09 22:17 UTC (permalink / raw)
  To: gcc-bugs


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

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |steven at gcc dot gnu.org
         Resolution|                            |FIXED

--- Comment #6 from Steven Bosscher <steven at gcc dot gnu.org> 2012-11-09 22:17:30 UTC ---
Fixed by http://gcc.gnu.org/ml/gcc-patches/2012-01/msg00011.html


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

* [Bug target/28968] gcc/config/i386/winnt-stubs.c is not linked in -> build fails
  2006-09-06 23:02 [Bug target/28968] New: " mkoeppe at gmx dot de
                   ` (4 preceding siblings ...)
  2006-09-08 16:41 ` mkoeppe at gmx dot de
@ 2006-09-23 18:54 ` mkoeppe at gmx dot de
  5 siblings, 0 replies; 7+ messages in thread
From: mkoeppe at gmx dot de @ 2006-09-23 18:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from mkoeppe at gmx dot de  2006-09-23 18:54 -------
Created an attachment (id=12316)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12316&action=view)
patch to fix this bug

Hello Andrew,

I now tested your fix and built a diff. It works great and now I'm able to
build a cross compiler successfully:

../src/configure --target=i586-pc-interix3 \
        --enable-languages=c \
        --enable-threads=posix \
        --with-stabs \
        --enable-nls \
        --enable-shared \
        --disable-libssp \
        --with-gnu-as \
        --with-gnu-ld

Even if non-cross "make bootstrap" on i586-pc-interix3 still doesn't work out
of the box, the patch should nevertheless be applied to gcc-4.2.0 and gcc-4.1.1
to close this bug, as exactly this configuration has worked with 4.0.3.


-- 


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


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

* [Bug target/28968] gcc/config/i386/winnt-stubs.c is not linked in -> build fails
  2006-09-06 23:02 [Bug target/28968] New: " mkoeppe at gmx dot de
                   ` (3 preceding siblings ...)
  2006-09-06 23:29 ` mkoeppe at gmx dot de
@ 2006-09-08 16:41 ` mkoeppe at gmx dot de
  2006-09-23 18:54 ` mkoeppe at gmx dot de
  5 siblings, 0 replies; 7+ messages in thread
From: mkoeppe at gmx dot de @ 2006-09-08 16:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from mkoeppe at gmx dot de  2006-09-08 16:41 -------
(In reply to comment #3)
> > And the other question is how did you get passed PR 15212?

I now tested "make bootstrap" on native i586-pc-interix3.

This bug (PR 28968) occurs there, too, when building the stage1. I think it is
before PR 15212 may be hit, at least I didn't hit it yet, but I haven't yet
completed "make bootstrap" because of other problems, which I have to
investigate further. So at least the bug dependency seems wrong, as I
understand it, or there should be no dependency at all.

Martin


-- 


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


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

* [Bug target/28968] gcc/config/i386/winnt-stubs.c is not linked in -> build fails
  2006-09-06 23:02 [Bug target/28968] New: " mkoeppe at gmx dot de
                   ` (2 preceding siblings ...)
  2006-09-06 23:10 ` pinskia at gcc dot gnu dot org
@ 2006-09-06 23:29 ` mkoeppe at gmx dot de
  2006-09-08 16:41 ` mkoeppe at gmx dot de
  2006-09-23 18:54 ` mkoeppe at gmx dot de
  5 siblings, 0 replies; 7+ messages in thread
From: mkoeppe at gmx dot de @ 2006-09-06 23:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from mkoeppe at gmx dot de  2006-09-06 23:29 -------
(In reply to comment #2)
> And the other question is how did you get passed PR 15212?

Don't know if it's really related! I didn't encounter it, but I built a cross
compiler and used only "make" and not "make bootstrap".


-- 


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


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

* [Bug target/28968] gcc/config/i386/winnt-stubs.c is not linked in -> build fails
  2006-09-06 23:02 [Bug target/28968] New: " mkoeppe at gmx dot de
  2006-09-06 23:08 ` [Bug target/28968] " pinskia at gcc dot gnu dot org
  2006-09-06 23:08 ` pinskia at gcc dot gnu dot org
@ 2006-09-06 23:10 ` pinskia at gcc dot gnu dot org
  2006-09-06 23:29 ` mkoeppe at gmx dot de
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-06 23:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-09-06 23:10 -------
And the other question is how did you get passed PR 15212?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |15212


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


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

* [Bug target/28968] gcc/config/i386/winnt-stubs.c is not linked in -> build fails
  2006-09-06 23:02 [Bug target/28968] New: " mkoeppe at gmx dot de
@ 2006-09-06 23:08 ` pinskia at gcc dot gnu dot org
  2006-09-06 23:08 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-06 23:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-09-06 23:08 -------
That is the incorrect fix.
The correct fix is to copy from t-cygming to t-interix:

winnt.o: $(srcdir)/config/i386/winnt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
  $(TM_H) $(RTL_H) $(REGS_H) hard-reg-set.h output.h $(TREE_H) flags.h \
  $(TM_P_H) toplev.h $(HASHTAB_H) $(GGC_H)
        $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
        $(srcdir)/config/i386/winnt.c

winnt-cxx.o: $(srcdir)/config/i386/winnt-cxx.c $(CONFIG_H) $(SYSTEM_H)
coretypes.h \
  $(TM_H) $(RTL_H) $(REGS_H) hard-reg-set.h output.h $(TREE_H) flags.h \
  $(TM_P_H) toplev.h $(HASHTAB_H) $(GGC_H)
        $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
        $(srcdir)/config/i386/winnt-cxx.c


winnt-stubs.o: $(srcdir)/config/i386/winnt-stubs.c $(CONFIG_H) $(SYSTEM_H)
coretypes.h \
  $(TM_H) $(RTL_H) $(REGS_H) hard-reg-set.h output.h $(TREE_H) flags.h \
  $(TM_P_H) toplev.h $(HASHTAB_H) $(GGC_H)
        $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
        $(srcdir)/config/i386/winnt-stubs.c


And also copy from mingw32's entry in config.gcc to interix3's entry:
        extra_objs="winnt.o winnt-stubs.o"
        cxx_target_objs=winnt-cxx.o


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build


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


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

* [Bug target/28968] gcc/config/i386/winnt-stubs.c is not linked in -> build fails
  2006-09-06 23:02 [Bug target/28968] New: " mkoeppe at gmx dot de
  2006-09-06 23:08 ` [Bug target/28968] " pinskia at gcc dot gnu dot org
@ 2006-09-06 23:08 ` pinskia at gcc dot gnu dot org
  2006-09-06 23:10 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-06 23:08 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-09-06 23:08:38
               date|                            |


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


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

end of thread, other threads:[~2012-11-09 22:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-28968-4@http.gcc.gnu.org/bugzilla/>
2012-11-09 22:17 ` [Bug target/28968] gcc/config/i386/winnt-stubs.c is not linked in -> build fails steven at gcc dot gnu.org
2006-09-06 23:02 [Bug target/28968] New: " mkoeppe at gmx dot de
2006-09-06 23:08 ` [Bug target/28968] " pinskia at gcc dot gnu dot org
2006-09-06 23:08 ` pinskia at gcc dot gnu dot org
2006-09-06 23:10 ` pinskia at gcc dot gnu dot org
2006-09-06 23:29 ` mkoeppe at gmx dot de
2006-09-08 16:41 ` mkoeppe at gmx dot de
2006-09-23 18:54 ` mkoeppe at gmx dot de

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).