[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-bug: gnetlist segfaults on x86_64/athlon64 if and only if run by gsch2pcb



Hi,

I'm running Gentoo on an Athlon64 system, compiled for native 64-bit mode. gsch2pcb complains that
gnetlist failed, and upon stracing it I discovered gnetlist was segfaulting. An easy way to tell is to:

$ export PATH=.:$PATH
$ echo "#!/bin/bash" > gnetlist
$ echo "echo COMMAND: $@" >> gnetlist
$ echo "/path/to/gnetlist $@" >> gnetlist
$ gsch2pcb project

If run on an x86_64 64-bit system (or at least mine), bash will inform about the segfault. Running
the exact same command outside of gsch2pcb works. But, as explained, even running it within a shell
script called by gsch2pcb makes it crash.

I compiled everything inside my 32-bit chroot and there it works OK.

Greets, and a big thank you for making Linux EDA possible.
--
Hector Martin (hector@xxxxxxxxxxxxxx)
Public Key: http://www.marcansoft.com/hector.asc