This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: glibc-2.0.93 homebrew distribution tests


[Andreas Schwab]
>[me]
>>   Some things that filed to compile that seemed to cause compiler problems
>> were lynx-2.8 & gnuplot-3.5 (croaking with sig11 & sig6, respectively).
> 
>  I had no problems with both of them.  Perhaps a compiler bug.

  Yes, a compiler bug.  A compiler bug when linked against 2.0.93 but
not 2.0.7pre3, at least.

>  X should have no problems at all.

  I didn't say it did.  I merely used it as an example of something with
a lot of complexity that worked/compiled just fine.


  As far as gnuplot goes, the error the end user sees is this:

	gcc: Internal compiler error: program cc1 got fatal signal 6
		(compiling gnuplot-3.5/command.c)

  For exhibit 1, I've appened the gcc -v dump for that one file.

  If you run the cc1 portion through gdb, you get something like this:

	Program received signal SIGABRT, Aborted.
	0x40031c91 in __kill ()
	(gdb) where
	#0  0x40031c91 in __kill ()
	#1  0x4003197b in raise (sig=6) at ../sysdeps/posix/raise.c:27
	#2  0x4003310b in abort () at ../sysdeps/generic/abort.c:83
	#3  0x8158801 in output_fix_trunc ()
	#4  0x8146c74 in output_120 ()
	#5  0x8132e5f in final_scan_insn ()
	#6  0x81320fd in final ()
	#7  0x8066bdf in rest_of_compilation ()
	#8  0x80576f2 in finish_function ()
	#9  0x8049ef3 in yyparse ()
	#10 0x8065271 in compile_file ()
	#11 0x8067c0e in main ()
	#12 0x4002bdf6 in __libc_start_main (main=0x8066cfc <main>, argc=9, 
	    argv=0xbffffb64, init=0x8048d24 <_init>, fini=0x815c660 <_fini>, 
	    rtld_fini=0x4000a904 <_dl_fini>) at ../sysdeps/generic/libc-start.c:74

  Anyway, it looks like a controlled cc1 bailout but I don't know why yet.
That sig=6 is SIGABRT.

  gcc's config/i386/i386.c does have a output_fix_trunc() that has an
abort() in it.

  Which compiler are you using, Andreas?
								--- john
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
exhibit 1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/2.8.1/specs
gcc version 2.8.1
 /usr/lib/gcc-lib/i586-pc-linux-gnu/2.8.1/cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=8 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__OPTIMIZE__ -Di386 -Di586 -Asystem(unix) -Acpu(i386) -Amachine(i386) -D__i386__ -D__i586__ -Asystem(unix) -Acpu(i386) -Amachine(i386) -DHELPFILE="/usr/local/lib/gnuplot.gih" -DREADLINE=1 -DNOCWDRC=1 -DTERMIOS=1 -DGAMMA=gamma -DGETCWD=1 -DMEMCPY=1 -DMEMSET=1 -DXPG3_LOCALE=1 -DUNIX=1 -DNOVFORK=1 -Dunix=1 /h/src/jk1/gnuplot-3.5/command.c /tmp/ccArJdLT.i
GNU CPP version 2.8.1 (i386 GNU/Linux with ELF)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/i586-pc-linux-gnu/include
 /usr/lib/gcc-lib/i586-pc-linux-gnu/2.8.1/include
 /usr/include
End of search list.
 /usr/lib/gcc-lib/i586-pc-linux-gnu/2.8.1/cc1 /tmp/ccArJdLT.i -quiet -dumpbase command.c -O2 -version -o /tmp/ccArJdLT.s
GNU C version 2.8.1 (i586-pc-linux-gnu) compiled by GNU C version 2.8.1.
gcc: Internal compiler error: program cc1 got fatal signal 6


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]