public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: jeremie_petit@geocities.com To: gcc-gnats@gcc.gnu.org Subject: target/2336: Tru64 5.1, make bootstrap, linking of cc1 fails Date: Wed, 21 Mar 2001 03:26:00 -0000 [thread overview] Message-ID: <20010321112530.13746.qmail@sourceware.cygnus.com> (raw) >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:
next reply other threads:[~2001-03-21 3:26 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-03-21 3:26 jeremie_petit [this message] 2002-01-01 20:47 rodrigc
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20010321112530.13746.qmail@sourceware.cygnus.com \ --to=jeremie_petit@geocities.com \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).