* Make build failure on NetBSD/i386 1.2
@ 1997-12-08 7:25 Andreas Gustafsson
1997-12-08 9:35 ` Jeffrey A Law
0 siblings, 1 reply; 4+ messages in thread
From: Andreas Gustafsson @ 1997-12-08 7:25 UTC (permalink / raw)
To: egcs
I just tried building egcs-1.0 on NetBSD/i386 1.2
(i386-unknown-netbsd-1.2) using the system's stock cc, which is
actually gcc 2.7.2. "make build" failed at the following point (long
line broken for the benefit of limited mail software):
$ /x/egcs-1.0/configure --enable-shared
Created "Makefile" in /x/egcs-obj using "/x/egcs-1.0/config/mh-x86pic" and "/x/egcs-1.0/config/mt-x86pic"
Links are now set up to build a native compiler for i386-unknown-netbsd1.2
$ make build
...lots of output deleted...
for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi\
3 _ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2\
_floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _\
fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi _fix\
tfdi _fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf _op_\
new _op_vnew _new_handler _op_delete _op_vdel _bb _shtab _clear_cache\
_trampoline __main _exit _ctors _eh _pure; do echo ${name}; ./xg\
cc -B./ -O2 -DIN_GCC -g -I./include -g1 -DIN_LIBGCC2 -D__GCC_FLO\
AT_NOT_NEEDED -fexceptions -I. -I/x/egcs-1.0/gcc -I/x/egcs-1.0/gcc/con\
fig -c -DL${name} /x/egcs-1.0/gcc/libgcc2.c -o ${name}.o; if [ $? -e\
q 0 ] ; then true; else exit 1; fi; ar rc tmplibgcc2.a ${name}.o; rm\
-f ${name}.o; done
_muldi3
/var/tmp/cc028591.s: Assembler messages:
/var/tmp/cc028591.s:153: Error: Unknown expression: symbols LECIE1 and LSCIE1 are in different frags.
*** Error code 1
Your help is appreciated.
--
Andreas Gustafsson, gson@araneus.fi
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Make build failure on NetBSD/i386 1.2
1997-12-08 7:25 Make build failure on NetBSD/i386 1.2 Andreas Gustafsson
@ 1997-12-08 9:35 ` Jeffrey A Law
1997-12-12 10:18 ` Andreas Gustafsson
0 siblings, 1 reply; 4+ messages in thread
From: Jeffrey A Law @ 1997-12-08 9:35 UTC (permalink / raw)
To: Andreas Gustafsson; +Cc: egcs
In message < 199712081524.RAA29796@guava.araneus.fi >you write:
> I just tried building egcs-1.0 on NetBSD/i386 1.2
> (i386-unknown-netbsd-1.2) using the system's stock cc, which is
> actually gcc 2.7.2. "make build" failed at the following point (long
> line broken for the benefit of limited mail software):
[ ... ]
> /var/tmp/cc028591.s: Assembler messages:
> /var/tmp/cc028591.s:153: Error: Unknown expression: symbols LECIE1 and L
> SCIE1 are in different frags.
> *** Error code 1
Hmmm, your assembler might need to be updated. That's the only thing that comes
immediately to mind.
jeff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Make build failure on NetBSD/i386 1.2
1997-12-08 9:35 ` Jeffrey A Law
@ 1997-12-12 10:18 ` Andreas Gustafsson
1997-12-12 13:04 ` Jeffrey A Law
0 siblings, 1 reply; 4+ messages in thread
From: Andreas Gustafsson @ 1997-12-12 10:18 UTC (permalink / raw)
To: law; +Cc: egcs
law@cygnus.com said:
> > I just tried building egcs-1.0 on NetBSD/i386 1.2
> > (i386-unknown-netbsd-1.2) using the system's stock cc, which is
> > actually gcc 2.7.2.
> [ ... ]
> > /var/tmp/cc028591.s: Assembler messages:
> > /var/tmp/cc028591.s:153: Error: Unknown expression: symbols LECIE1 and L
> > SCIE1 are in different frags.
> > *** Error code 1
> Hmmm, your assembler might need to be updated. That's the only thing that comes
> immediately to mind.
Hmm, updated to what? The NetBSD-1.3_ALPHA assembler turned out to have
the same problem as the 1.2 one (both are based on gas-1.92.3).
I tried installing gas from binutils-2.8.1, but that didn't work
either because it does not recognize the "-k" option which egcs passes
to the assembler when building shared libraries with -fpic on NetBSD
systems.
In case it helps, here's the egcs-generated assembler code that
triggers the problem. Apparently the assembler is confused by the
".align 2" directive occurring between two labels whose difference is
computed (the error disappears if you remove the ".align 2").
___FRAME_BEGIN__:
.long LLCIE1
LSCIE1:
.long 0
.byte 0x1
.byte 0x0
.byte 0x1
.byte 0x7c
.byte 0x8
.byte 0xc
.byte 0x5
.byte 0x4
.byte 0x88
.byte 0x1
.align 2
LECIE1:
.set LLCIE1,LECIE1-LSCIE1
--
Andreas Gustafsson, gson@araneus.fi
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Make build failure on NetBSD/i386 1.2
1997-12-12 10:18 ` Andreas Gustafsson
@ 1997-12-12 13:04 ` Jeffrey A Law
0 siblings, 0 replies; 4+ messages in thread
From: Jeffrey A Law @ 1997-12-12 13:04 UTC (permalink / raw)
To: Andreas Gustafsson; +Cc: egcs
In message < 199712121805.UAA25450@guava.araneus.fi >you write:
>
> Hmm, updated to what? The NetBSD-1.3_ALPHA assembler turned out to have
> the same problem as the 1.2 one (both are based on gas-1.92.3).
I would guess a 2.8.1 vintage, but not being a netbsd/alpha person I really
don't know.
gas-1.92.3 is horribly old, no wonder it doesn't work.
jeff
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1997-12-12 13:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-08 7:25 Make build failure on NetBSD/i386 1.2 Andreas Gustafsson
1997-12-08 9:35 ` Jeffrey A Law
1997-12-12 10:18 ` Andreas Gustafsson
1997-12-12 13:04 ` Jeffrey A Law
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).