public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/30974]  New: pdp11-dec-bsd will not successfully build
@ 2007-02-26 21:22 hbent at cs dot oberlin dot edu
  2007-02-26 21:31 ` [Bug target/30974] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hbent at cs dot oberlin dot edu @ 2007-02-26 21:22 UTC (permalink / raw)
  To: gcc-bugs

I have an x86 NetBSD box and am attempting to build gcc for pdp11-dec-bsd.  I
have binutils 2.17 installed and configured for that target, and I have
includes and libraries from the latest revision of 2.11BSD.

configure is run as
../configure --target=pdp11-dec-bsd --enable-languages=c --with-gmp=/usr/pkg

Building gets to this point:

/usr/src/gcc/vax/./gcc/xgcc -B/usr/src/gcc/vax/./gcc/
-B/usr/local/pdp11-dec-bsd/bin/ -B/usr/local/pdp11-dec-bsd/lib/ -isystem
/usr/local/pdp11-dec-bsd/include -isystem /usr/local/pdp11-dec-bsd/sys-include
-O2 -g -O2 -msoft-float -O2  -O2 -g -O2  -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -O2 -mfloat32 -g  -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc  -I. -I. -I../../.././gcc
-I../../../../libgcc -I../../../../libgcc/. -I../../../../libgcc/../gcc
-I../../../../libgcc/../include -I../../../../libgcc/../libdecnumber
-I../../../libdecnumber -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep
-DL_muldi3 -c ../../../../libgcc/../gcc/libgcc2.c \

cc1: warning: target system does not support debug output
cc1: warning: target system does not support debug output
cc1: warning: target system does not support debug output
/var/tmp//ccSoMtqq.s: Assembler messages:
/var/tmp//ccSoMtqq.s:323: Error: junk at end of line, first unrecognized
character is `0'
/var/tmp//ccSoMtqq.s:324: Error: junk at end of line, first unrecognized
character is `0'
/var/tmp//ccSoMtqq.s:325: Error: junk at end of line, first unrecognized
character is `0'
/var/tmp//ccSoMtqq.s:326: Error: junk at end of line, first unrecognized
character is `0'
/var/tmp//ccSoMtqq.s:329: Error: junk at end of line, first unrecognized
character is `0'
/var/tmp//ccSoMtqq.s:330: Error: junk at end of line, first unrecognized
character is `0'
gmake[4]: *** [_muldi3.o] Error 1

The mis-generated assembly is at the very end of the file, and looks like this:

LC_0:
        0 /* short */
        0 /* short */
        0 /* short */
        0 /* short */
        .even
LC_1:
        0 /* short */
        0 /* short */

Unfortunately I have not the faintest clue as to what is happening here, or
why.  I would be happy to provide more details if someone can tell me what they
need.


-- 
           Summary: pdp11-dec-bsd will not successfully build
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hbent at cs dot oberlin dot edu
 GCC build triplet: i386-unknown-netbsdelf4.99.9
  GCC host triplet: i386-unknown-netbsdelf4.99.9
GCC target triplet: pdp11-dec-bsd


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


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

* [Bug target/30974] pdp11-dec-bsd will not successfully build
  2007-02-26 21:22 [Bug bootstrap/30974] New: pdp11-dec-bsd will not successfully build hbent at cs dot oberlin dot edu
@ 2007-02-26 21:31 ` pinskia at gcc dot gnu dot org
  2007-02-26 21:32 ` pinskia at gcc dot gnu dot org
  2007-02-26 21:38 ` hbent at cs dot oberlin dot edu
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-02-26 21:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-02-26 21:30 -------
static bool
pdp11_assemble_integer (rtx x, unsigned int size, int aligned_p)
{
  if (aligned_p)
    switch (size)
      {
      case 1:
        fprintf (asm_out_file, "\t.byte\t");
        output_addr_const_pdp11 (asm_out_file, x);
        fprintf (asm_out_file, " /* char */\n");
        return true;

      case 2:
        fprintf (asm_out_file, TARGET_UNIX_ASM ? "\t" : "\t.word\t");
        output_addr_const_pdp11 (asm_out_file, x);
        fprintf (asm_out_file, " /* short */\n");
        return true;
      }
  return default_assemble_integer (x, size, aligned_p);
}


TARGET_UNIX_ASM is true for pdp11-dec-bsd


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |target


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


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

* [Bug target/30974] pdp11-dec-bsd will not successfully build
  2007-02-26 21:22 [Bug bootstrap/30974] New: pdp11-dec-bsd will not successfully build hbent at cs dot oberlin dot edu
  2007-02-26 21:31 ` [Bug target/30974] " pinskia at gcc dot gnu dot org
@ 2007-02-26 21:32 ` pinskia at gcc dot gnu dot org
  2007-02-26 21:38 ` hbent at cs dot oberlin dot edu
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-02-26 21:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-02-26 21:32 -------
Actually wait, you are using binutils but this target really defaults to the
old as and not binutils at all.


-- 


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


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

* [Bug target/30974] pdp11-dec-bsd will not successfully build
  2007-02-26 21:22 [Bug bootstrap/30974] New: pdp11-dec-bsd will not successfully build hbent at cs dot oberlin dot edu
  2007-02-26 21:31 ` [Bug target/30974] " pinskia at gcc dot gnu dot org
  2007-02-26 21:32 ` pinskia at gcc dot gnu dot org
@ 2007-02-26 21:38 ` hbent at cs dot oberlin dot edu
  2 siblings, 0 replies; 4+ messages in thread
From: hbent at cs dot oberlin dot edu @ 2007-02-26 21:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hbent at cs dot oberlin dot edu  2007-02-26 21:38 -------
I'm not clear on what you're saying.  Is binutils not going to work at all for
this target?  It can't be built natively AFAIK, so I'm not sure what toolchain
I should be using if binutils isn't going to work.


-- 


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


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

end of thread, other threads:[~2007-02-26 21:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-26 21:22 [Bug bootstrap/30974] New: pdp11-dec-bsd will not successfully build hbent at cs dot oberlin dot edu
2007-02-26 21:31 ` [Bug target/30974] " pinskia at gcc dot gnu dot org
2007-02-26 21:32 ` pinskia at gcc dot gnu dot org
2007-02-26 21:38 ` hbent at cs dot oberlin dot edu

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