This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
As of the last week I am having problems. My main use if with mudflap, where I started getting programs returning wrong results, and running very slowly. I then rebuilt without mudflap (-O0 -g) and observed the same problems. So maybe this is not a mudflap problem at all (I saw no mudflap checkings for a while). BTW, I am building off cvs. I then decided to build with '-O3 -g' and this actually failed to compile. I am attaching a small program that reproduces the failure. Just change "mf=" to the path of the compiler. eyal@e7:~$ sh ~/zz20.sh Reading specs from /data2/usr/local/gcc-mudflap-20030829-203101/bin/../lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa/specs Configured with: ../gcc/configure --prefix=/usr/local/gcc-mudflap --enable-languages=c Thread model: posix gcc version 3.5-tree-ssa 20030829 (merged 20030817) /data2/usr/local/gcc-mudflap-20030829-203101/bin/../libexec/gcc/i686-pc-linux-gnu/3.5-tree-ssa/cc1 -quiet -v -iprefix /data2/usr/local/gcc-mudflap-20030829-203101/bin/../lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa/ /home/eyal/zz.c -quiet -dumpbase zz.c -mtune=pentiumpro -auxbase zz -g -O3 -Wall -version -o /tmp/cckZmqRJ.s ignoring nonexistent directory "/data2/usr/local/gcc-mudflap-20030829-203101/bin/../lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa/../../../../i686-pc-linux-gnu/include" ignoring duplicate directory "/usr/local/gcc-mudflap/lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa/include" ignoring nonexistent directory "/usr/local/gcc-mudflap/lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa/../../../../i686-pc-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /data2/usr/local/gcc-mudflap-20030829-203101/bin/../lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa/include /usr/local/include /usr/local/gcc-mudflap/include /usr/include End of search list. GNU C version 3.5-tree-ssa 20030829 (merged 20030817) (i686-pc-linux-gnu) compiled by GNU C version 3.5-tree-ssa 20030829 (merged 20030817). GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64574 as -V -Qy -o /tmp/cciQLcTq.o /tmp/cckZmqRJ.s GNU assembler version 2.12.90.0.1 (i386-linux) using BFD version 2.12.90.0.1 20020307 Debian/GNU Linux /data2/usr/local/gcc-mudflap-20030829-203101/bin/../libexec/gcc/i686-pc-linux-gnu/3.5-tree-ssa/collect2 --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o /home/eyal/zz /usr/lib/crt1.o /usr/lib/crti.o /data2/usr/local/gcc-mudflap-20030829-203101/bin/../lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa/crtbegin.o -L/data2/usr/local/gcc-mudflap-20030829-203101/bin/../lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa -L/data2/usr/local/gcc-mudflap-20030829-203101/bin/../lib/gcc -L/usr/local/gcc-mudflap/lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa -L/data2/usr/local/gcc-mudflap-20030829-203101/bin/../lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa/../../.. -L/usr/local/gcc-mudflap/lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa/../../.. /tmp/cciQLcTq.o -lgcc -lgcc_eh -lc -lgcc -lgcc_eh /data2/usr/local/gcc-mudflap-20030829-203101/bin/../lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa/crtend.o /usr/lib/crtn.o /tmp/cciQLcTq.o: In function `test': /home/eyal/zz.c:10: undefined reference to `done.0' /home/eyal/zz.c:12: undefined reference to `done.0' /home/eyal/zz.c:10: undefined reference to `done.0' /home/eyal/zz.c:12: undefined reference to `done.0' /home/eyal/zz.c:10: undefined reference to `done.0' /tmp/cciQLcTq.o:/home/eyal/zz.c:12: more undefined references to `done.0' follow collect2: ld returned 1 exit status -- Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>
Attachment:
zz20.sh
Description: Bourne shell script
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |