Summary

Bus error on sparc64 running OpenBSD

Metadata

Description

 $ ~/chickens/4.7.2/bin/csi                        
 [panic] `##sys#error-hook' is not defined - the `library' unit was probably not linked with this executable - execution terminated



 $ gdb ~/chickens/4.7.2/bin/csi
 GNU gdb 6.3
 Copyright 2004 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you are
 welcome to change it and/or distribute copies of it under certain conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for details.
 This GDB was configured as "sparc64-unknown-openbsd4.6"...
 (gdb) run
 Starting program: /home/bunny351/chickens/4.7.2/bin/csi 
 
 Program received signal SIGBUS, Bus error.
 0x0000000050939e28 in f_7560 (c=4, t0=0, t1=1162484112) at expand.c:8844
 8844    t5=C_a_i_list(&a,4,((C_word*)((C_word*)t0)[8])[1],((C_word*)((C_word*)t0)[7])[1],((C_word*)t0)[6],t4);
 (gdb)

This is on gcc13.fsffrance.org

 ssh -i .ssh/gcc-compile-farm -p 9204 bunny351@gcc13.fsffrance.org

The sources are in ~/chicken-4.7.2. I used

 gmake PLATFORM=bsd PREFIX=/home/bunny351/chickens/4.7.2 DEBUGBUILD=1 HACKED_APPLY=0 install

to build chicken

Changes and comments

[2011-11-04 13:43:46 UTC] felix changed status from new to assigned

[2011-11-04 13:43:46 UTC] felix set owner to felix

[2011-11-10 11:46:49 UTC] felix removed milestone 4.8.0

[2011-11-10 11:46:49 UTC] felix wrote:

I was able to get the sparc64 build back to working on Linux, but currently I'm clueless as to why this fails on OpenBSD. I tried various things (higher nursery settings, disabling the (broken) apply hack, etc. but to no avail).

[2011-11-10 11:46:57 UTC] felix removed owner felix

[2012-01-30 08:45:46 UTC] felix wrote:

gcc64 has been updated on the compile-farm - the test should be repeated.

[2012-02-14 13:09:12 UTC] felix wrote:

Executables built on this machine behave totally erratic, it is nearly impossible to reproduce a failure on a second run. Errors occurring are stack overflows, errors during initialization of the library ("'##sys#error-hook' not defined") and segmentation faults.

I have no idea what's going on here.

[2012-03-10 12:26:01 UTC] felix set resolution to worksforme

[2012-03-10 12:26:01 UTC] felix wrote:

This machine seems to be seriously broken. See:

https://mail.gna.org/public/gcc-cfarm-users/2012-03/msg00002.html

[2012-03-10 12:26:01 UTC] felix changed status from assigned to closed