Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Building current...



In article <565EF2EF.9020404%update.uu.se@localhost>,
Johnny Billquist  <bqt%update.uu.se@localhost> wrote:
>On 2015-12-02 13:41, Christos Zoulas wrote:
>> On Dec 2,  8:46am, martin%duskware.de@localhost (Martin Husemann) wrote:
>> -- Subject: Re: Building current...
>>
>> | On Wed, Dec 02, 2015 at 04:37:05AM +0100, Johnny Billquist wrote:
>> | > I'd go back and hunt why gcc barfs on me as well... Maybe it is
>> | > something else after all...
>> |
>> | I get SIGILL from bitmask operations with invalid bit numbers quite easily
>> | in gcc. Compiling tcsh from pkgsrc is a simple way to trigger it.
>> |
>> | I don't see what goes wrong inside gcc though, so this could
>> | be secondary fallout from another bug in the compiler.
>>
>> Can you run gdb on it and see where it comes from? This will need to be
>> fixed in the compiler.
>
>Not sure if it's the same error I have, but for me, I get a crash in cc1.
>
>Here is as much as I've extracted so far:
>
>Gnat:usr.bin/make# make CC=cc
>#   compile  make/job.o
>cc -O1 -fgcse -fstrength-reduce -fgcse-after-reload    -std=gnu99 
>-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
>-Wno-sign-compare  -Wno-traditional  -Wa,--fatal-warnings -Wreturn-type 
>-Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra 
>-Wno-unused-parameter -Wno-sign-compare -Wold-style-definition 
>-Wsign-compare -Wformat=2  -Wno-format-zero-length  -Werror 
>--sysroot=/  -DMAKE_NATIVE -DUSE_EMALLOC -c -Wno-format-nonliteral 
>/usr/src/usr.bin/make/job.c
>cc: internal compiler error: Illegal instruction (program cc1)
>no stack trace because unwind library not available
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <http://www.NetBSD.org/support/send-pr.html> for instructions.
>*** Error code 4
>
>Stop.
>make: stopped in /usr/src/usr.bin/make
>Gnat:usr.bin/make# gdb /usr/libexec/cc1
>GNU gdb (GDB) 7.9.1
>Copyright (C) 2015 Free Software Foundation, Inc.
>License GPLv3+: GNU GPL version 3 or later 
><http://gnu.org/licenses/gpl.html>
>This is free software: you are free to change and redistribute it.
>There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
>and "show warranty" for details.
>This GDB was configured as "vax--netbsdelf".
>Type "show configuration" for configuration details.
>For bug reporting instructions, please see:
><http://www.gnu.org/software/gdb/bugs/>.
>Find the GDB manual and other documentation resources online at:
><http://www.gnu.org/software/gdb/documentation/>.
>For help, type "help".
>Type "apropos word" to search for commands related to "word"...
>Reading symbols from /usr/libexec/cc1...(no debugging symbols found)...done.
>(gdb) core obj/cc1.core
>[New process 1]
>warning: Corrupted shared library list: 0x0 != 0x21c00000
>warning: Corrupted shared library list: 0x0 != 0x21c00000
>Core was generated by `cc1'.
>Program terminated with signal SIGILL, Illegal instruction.
>#0  0x004455ed in htab_find_slot_with_hash (2132803824, 2127176780, 1075, 1)
>(gdb) bt
>#0  0x004455ed in htab_find_slot_with_hash (2132803824, 2127176780, 1075, 1)
>Backtrace stopped: Cannot access memory at address 0x4bb66c03
>(gdb)

Can you print the illegal instruction?

christos



Home | Main Index | Thread Index | Old Index