public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* egcs-971105, sparc-unknown-linux-gnulibc1, another bootstrap failure
@ 1997-11-11  4:21 Klaus Kaempf
  0 siblings, 0 replies; 4+ messages in thread
From: Klaus Kaempf @ 1997-11-11  4:21 UTC (permalink / raw)
  To: egcs

During libgcc2 compilation the assembler (from the redhat 4.2 distribution)
fails:

_muldi3
/tmp/cca15924.s: Assembler messages:
/tmp/cca15924.s:219: Error: misaligned data
make[1]: *** [libgcc2.a] Error 1
make[1]: Leaving directory `/usr/local/src/egcs-971105/gcc'
make: *** [all-gcc] Error 2

I'll try with a current binutils/gas version next.

-- 
proGIS Software                 E-Mail: kkaempf@progis.de
Dipl.-Inform. Klaus K"ampf      Fax:    0241-47067-29
Jakobstr. 117                   Voice:  0241-47067-11
D-52064 Aachen                  WWW:	http://www.progis.de


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

* Re: egcs-971105, sparc-unknown-linux-gnulibc1, another bootstrap failure
  1997-11-11 10:02 ` Jeffrey A Law
@ 1997-11-11 10:52   ` David S. Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David S. Miller @ 1997-11-11 10:52 UTC (permalink / raw)
  To: law; +Cc: kkaempf, egcs

   Date: Tue, 11 Nov 1997 10:53:51 -0700
   From: Jeffrey A Law <law@cygnus.com>

   I think your system include files are not properly installed; this
   is causing autoconf to get confused.  Note the No such file or
   directory problems in your config.log:

This is a known bug in the redhat-4.x installations on sparc-linux.
If you don't tell it "install everything" it fails to make two
critical symlinks for header files, create these:

/usr/include/linux --> /usr/src/linux/include/linux
/usr/include/asm --> /usr/src/linux/include/asm  (or asm-sparc)

And you should be ok.

Later,
David S. Miller
davem@dm.cobaltmicro.com

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

* Re: egcs-971105, sparc-unknown-linux-gnulibc1, another bootstrap failure
  1997-11-11  9:33 Klaus Kaempf
@ 1997-11-11 10:02 ` Jeffrey A Law
  1997-11-11 10:52   ` David S. Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Jeffrey A Law @ 1997-11-11 10:02 UTC (permalink / raw)
  To: Klaus Kaempf; +Cc: egcs

  In message < 9711111626.AA01159@progis.de >you write:
  > Next problem:
  > 
  > In file included from ./libgcc2.c:1440:
  > gbl-ctors.h:43: conflicting types for `atexit'
  > /usr/include/stdlib.h:248: previous declaration of `atexit'
  > make[1]: *** [libgcc2.a] Error 1
  > make[1]: Leaving directory `/usr/local/src/egcs-971105/gcc'
  > make: *** [all-gcc] Error 2
I think your system include files are not properly installed; this is causing
autoconf to get confused.  Note the No such file or directory problems in
your config.log:



configure:1348: gcc -E  conftest.c >/dev/null 2>conftest.out
In file included from /usr/include/stdlib.h:42,
                 from configure:1344:
/usr/include/errno.h:27: linux/errno.h: No such file or directory
configure: failed program was:
#line 1343 "configure"
#include "confdefs.h"
#include <stdlib.h>


configure:1338: checking for time.h
configure:1348: gcc -E  conftest.c >/dev/null 2>conftest.out
In file included from /usr/include/time.h:27,
                 from configure:1344:
/usr/include/sys/time.h:5: linux/types.h: No such file or directory
/usr/include/sys/time.h:6: linux/time.h: No such file or directory
In file included from /usr/include/sys/time.h:40,
                 from /usr/include/time.h:27,
                 from configure:1344:
/usr/include/sys/types.h:4: linux/types.h: No such file or directory
configure: failed program was:
#line 1343 "configure"
#include "confdefs.h"
#include <time.h>


configure:1569: checking for sys_siglist declaration in signal.h or unistd.h
configure:1586: gcc -c -g -O2  conftest.c 1>&5
In file included from configure:1575:
/usr/include/sys/types.h:4: linux/types.h: No such file or directory
In file included from configure:1576:
/usr/include/signal.h:28: linux/signal.h: No such file or directory
configure: failed program was:
#line 1574 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
/* NetBSD declares sys_siglist in unistd.h.  */
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
int main() {
char *msg = *(sys_siglist + 1);
; return 0; }

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

* Re: egcs-971105, sparc-unknown-linux-gnulibc1, another bootstrap failure
@ 1997-11-11  9:33 Klaus Kaempf
  1997-11-11 10:02 ` Jeffrey A Law
  0 siblings, 1 reply; 4+ messages in thread
From: Klaus Kaempf @ 1997-11-11  9:33 UTC (permalink / raw)
  To: egcs

> 
> 
> During libgcc2 compilation the assembler (from the redhat 4.2 distribution)
> fails:
> 
> _muldi3
> /tmp/cca15924.s: Assembler messages:
> /tmp/cca15924.s:219: Error: misaligned data
> 
> I'll try with a current binutils/gas version next.

gas-971111 helps me further (not fully supported on this target, but thats
another issue).

Next problem:

In file included from ./libgcc2.c:1440:
gbl-ctors.h:43: conflicting types for `atexit'
/usr/include/stdlib.h:248: previous declaration of `atexit'
make[1]: *** [libgcc2.a] Error 1
make[1]: Leaving directory `/usr/local/src/egcs-971105/gcc'
make: *** [all-gcc] Error 2

-- 
proGIS Software                 E-Mail: kkaempf@progis.de
Dipl.-Inform. Klaus K"ampf      Fax:    0241-47067-29
Jakobstr. 117                   Voice:  0241-47067-11
D-52064 Aachen                  WWW:	http://www.progis.de

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

end of thread, other threads:[~1997-11-11 10:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-11-11  4:21 egcs-971105, sparc-unknown-linux-gnulibc1, another bootstrap failure Klaus Kaempf
1997-11-11  9:33 Klaus Kaempf
1997-11-11 10:02 ` Jeffrey A Law
1997-11-11 10:52   ` David S. Miller

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