[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
- To: geda-bug@xxxxxxxx
- Subject: gEDA-bug: gnetlist segfaults on x86_64/athlon64 if and only if run by gsch2pcb
- From: Hector Martin <hector@xxxxxxxxxxxxxx>
- Date: Tue, 22 Feb 2005 20:31:36 +0100
- Delivered-to: archiver@seul.org
- Delivered-to: geda-bug-outgoing@seul.org
- Delivered-to: geda-bug@seul.org
- Delivery-date: Tue, 22 Feb 2005 14:32:13 -0500
- Reply-to: geda-bug@xxxxxxxx
- Sender: owner-geda-bug@xxxxxxxx
- User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.5) Gecko/20041231
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