public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: target/2336: Tru64 5.1, make bootstrap, linking of cc1 fails
@ 2002-01-01 20:47 rodrigc
  0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2002-01-01 20:47 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, jeremie_petit, nobody

Synopsis: Tru64 5.1, make bootstrap, linking of cc1 fails

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Tue Jan  1 20:47:47 2002
State-Changed-Why:
    Duplicate of PR 2318:
    http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&database=gcc&pr=2318

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2336


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

* target/2336: Tru64 5.1, make bootstrap, linking of cc1 fails
@ 2001-03-21  3:26 jeremie_petit
  0 siblings, 0 replies; 2+ messages in thread
From: jeremie_petit @ 2001-03-21  3:26 UTC (permalink / raw)
  To: gcc-gnats

>Number:         2336
>Category:       target
>Synopsis:       Tru64 5.1, make bootstrap, linking of cc1 fails
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 21 03:26:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jeremie Petit
>Release:        gcc-2.95.3
>Organization:
>Environment:
Tru64 5.1, (`uname -a` = "OSF1 iahhel.vbe.cpqcorp.net V5.1 732 alpha")

>Description:
When linking cc1 in the 'make boostrap' target, the link fails because of an undefined
ASM_FILE_START symbol, referenced by the toplev.o object file:

----------
cc  -DIN_GCC -DHAIFA    -g  -DHAVE_CONFIG_H  -o cc1 toplev.o version.o tree.o print-tree.o stor-layout.o fold-const.o function.o stmt.o except.o expr.o calls.o expmed.o explow.o optabs.o intl.o varasm.o rtl.o print-rtl.o rtlanal.o emit-rtl.o genrtl.o real.o dbxout.o sdbout.o dwarfout.o dwarf2out.o xcoffout.o bitmap.o alias.o gcse.o integrate.o jump.o cse.o loop.o unroll.o flow.o stupid.o combine.o varray.o regclass.o regmove.o local-alloc.o global.o reload.o reload1.o caller-save.o insn-peep.o reorg.o haifa-sched.o final.o recog.o reg-stack.o insn-opinit.o insn-recog.o insn-extract.o insn-output.o insn-emit.o lcm.o profile.o insn-attrtab.o alpha.o getpwd.o  convert.o mbchar.o dyn-string.o splay-tree.o graph.o sbitmap.o resource.o hash.o c-parse.o c-lang.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-iterate.o  obstack.o       -lmld ../libiberty/libiberty.a
ld:
Unresolved:
ASM_FILE_START
make[1]: *** [cc1] Error 1
make[1]: Leaving directory `/usr/local1/src/build/gcc-obj/gcc'
make: *** [bootstrap] Error 2
----------

In the generated config.h, I find:

----------
#ifdef IN_GCC
#include "auto-host.h"
#endif
#ifdef IN_GCC
#include "gansidecl.h"
#endif
#ifdef IN_GCC
#include "alpha/xm-alpha.h"
#endif
#ifdef IN_GCC
#include "hwint.h"
#endif
----------

just after #include "alpha/xm-alpha.h", I've
included "alpha/osf.h". CC1 links correctly then, but
afterwards, it's a problem similar to middle-end/2318 that
occurs:

----------
rm -f tmplibgcc2.a
for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 _ashldi3
_ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf
 _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fix
unsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varar
gs __dummy _eprintf _bb _shtab _clear_cache _trampoline __main _exit _ctors _pur
e; \
do \
  echo ${name}; \
  ./xgcc -B/usr/local1/DEC/packages/gcc-2.95.3/alphaev6-dec-osf5.1/bin/ -B./ -I/
usr/local1/DEC/packages/gcc-2.95.3/alphaev6-dec-osf5.1/include -O2   -DIN_GCC -D
HAIFA    -g -I./include   -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED    -I. -I/u
sr/local1/src/build/gcc-2.95.3/gcc -I/usr/local1/src/build/gcc-2.95.3/gcc/config
 -I/usr/local1/src/build/gcc-2.95.3/gcc/../include -c -DL${name} \
      -DUSE_COLLECT2 /usr/local1/src/build/gcc-2.95.3/gcc/libgcc2.c -o ${name}.o
; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
_divdi3
/usr/local1/src/build/gcc-2.95.3/gcc/libgcc2.c(497) : warning : 'ldbu' instructi
on requires $at with '.set noat' in effect.
/usr/local1/src/build/gcc-2.95.3/gcc/libgcc2.c(606) : warning : 'ldbu' instructi
on requires $at with '.set noat' in effect.
/usr/local1/src/build/gcc-2.95.3/gcc/libgcc2.c(783) : warning : 'ldbu' instructi
on requires $at with '.set noat' in effect.
_moddi3
/usr/local1/src/build/gcc-2.95.3/gcc/libgcc2.c(499) : warning : 'ldbu' instructi
on requires $at with '.set noat' in effect.
/usr/local1/src/build/gcc-2.95.3/gcc/libgcc2.c(586) : warning : 'ldbu' instructi
on requires $at with '.set noat' in effect.
/usr/local1/src/build/gcc-2.95.3/gcc/libgcc2.c(759) : warning : 'ldbu' instructi
on requires $at with '.set noat' in effect.
_udivdi3
/usr/local1/src/build/gcc-2.95.3/gcc/libgcc2.c(459) : warning : 'ldbu' instructi
on requires $at with '.set noat' in effect.
/usr/local1/src/build/gcc-2.95.3/gcc/libgcc2.c(568) : warning : 'ldbu' instructi
on requires $at with '.set noat' in effect.
/usr/local1/src/build/gcc-2.95.3/gcc/libgcc2.c(745) : warning : 'ldbu' instructi
on requires $at with '.set noat' in effect.
_umoddi3
/usr/local1/src/build/gcc-2.95.3/gcc/libgcc2.c(464) : warning : 'ldbu' instructi
on requires $at with '.set noat' in effect.
/usr/local1/src/build/gcc-2.95.3/gcc/libgcc2.c(551) : warning : 'ldbu' instructi
on requires $at with '.set noat' in effect.
/usr/local1/src/build/gcc-2.95.3/gcc/libgcc2.c(724) : warning : 'ldbu' instructi
on requires $at with '.set noat' in effect.
_negdi2
_lshrdi3
_ashldi3
_ashrdi3
_ffsdi2
_udiv_w_sdiv
_udivmoddi4
/usr/local1/src/build/gcc-2.95.3/gcc/libgcc2.c(465) : warning : 'ldbu' instructi
on requires $at with '.set noat' in effect.
/usr/local1/src/build/gcc-2.95.3/gcc/libgcc2.c(575) : warning : 'ldbu' instructi
on requires $at with '.set noat' in effect.
/usr/local1/src/build/gcc-2.95.3/gcc/libgcc2.c(767) : warning : 'ldbu' instructi
on requires $at with '.set noat' in effect.
_cmpdi2
_ucmpdi2
_floatdidf
_floatdisf
_fixunsdfsi
_fixunssfsi
_fixunsdfdi
_fixdfdi
_fixunssfdi
_fixsfdi
_fixxfdi
mips-tfile, /tmp/ccyerVoh.s:6 Invalid .stabs/.stabn directive, value not found
line:    #.stabs "/usr/local1/src/build/gcc-obj/gcc/",100,0,0,$Ltext0

mips-tfile, /tmp/ccyerVoh.s:7 Invalid .stabs/.stabn directive, value not found
line:    #.stabs "/usr/local1/src/build/gcc-2.95.3/gcc/libgcc2.c",100,0,0,$Ltext
0

mips-tfile, /tmp/ccyerVoh.s:155 Segmentation fault
line:    #.stabs "DIunion:t167=168=u8s:166,0,64;ll:161,0,64;;",128,0,139,0

make[3]: *** [libgcc2.a] Error 1
make[3]: Leaving directory `/usr/local1/src/build/gcc-obj/gcc'
make[2]: *** [stmp-multilib-sub] Error 2
make[2]: Leaving directory `/usr/local1/src/build/gcc-obj/gcc'
make[1]: *** [stmp-multilib] Error 1
make[1]: Leaving directory `/usr/local1/src/build/gcc-obj/gcc'
make: *** [bootstrap] Error 2
----------

Do not hesitate to ask me for more information.

Best regards,

	Jeremie Petit
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2002-01-02  4:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-01 20:47 target/2336: Tru64 5.1, make bootstrap, linking of cc1 fails rodrigc
  -- strict thread matches above, loose matches on Subject: below --
2001-03-21  3:26 jeremie_petit

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