platform specific sigsegv.h

gjohnson5 tonyjohn5 at yahoo.com
Sun Jun 1 17:30:53 UTC 2008


Was trying to install gnu-smalltalk (which is 32 bit) on x86_64 which had a
dependency on libsigsegv-devel

I installed a 64bit copy of libsigsegv thinking the 64 bit library should be
able to handle 32 bit code but...

[gjohnson at loser src]$ rpmbuild --rebuild --target=i686
gnu-smalltalk-3.0.2-2.fc9.src.rpm
.......
 gcc -DHAVE_CONFIG_H -I. -I..
-DKERNEL_PATH=\"/usr/share/gnu-smalltalk/kernel\"
-DIMAGE_PATH=\"/usr/lib/gnu-smalltalk\"
-DMODULE_PATH=\"/usr/lib/gnu-smalltalk\"
-DLIBEXEC_PATH=\"/usr/libexec/gnu-smalltalk\" -I../lib-src
-I/usr/lib/libffi-3.0.1/include -I../snprintfv -I../snprintfv -I../lib-src
-I../lightning -I../lightning -I.. -I.. -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i686 -mtune=generic
-fasynchronous-unwind-tables -Wa,--noexecstack -Wall
-Wdeclaration-after-statement -Wno-format -Wpointer-arith -Wno-pointer-sign
-Wwrite-strings -Wno-strict-aliasing -Wno-switch -fno-gcse -fstrict-aliasing
-MT gstpub.lo -MD -MP -MF .deps/gstpub.Tpo -c gstpub.c  -fPIC -DPIC -o
.libs/gstpub.o
In file included from gstpriv.h:110,
                 from gstpub.c:57:
/usr/include/sigsegv.h:9:26: error: sigsegv-i386.h: No such file or
directory
make[3]: *** [gstpub.lo] Error 1

[gjohnson at loser src]$ rpmbuild --target=i686 --rebuild
libsigsegv-2.4-6.fc9.src.rpm
....
Wrote: /home/gjohnson/rpmbuild/RPMS/i686/libsigsegv-2.4-6.fc9.i686.rpm
Wrote: /home/gjohnson/rpmbuild/RPMS/i686/libsigsegv-devel-2.4-6.fc9.i686.rpm
Wrote:
/home/gjohnson/rpmbuild/RPMS/i686/libsigsegv-static-2.4-6.fc9.i686.rpm
Wrote:
/home/gjohnson/rpmbuild/RPMS/i686/libsigsegv-debuginfo-2.4-6.fc9.i686.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.51156
+ umask 022
+ cd /home/gjohnson/rpmbuild/BUILD
+ cd libsigsegv-2.4
+ rm -rf /var/tmp/libsigsegv-2.4-6.fc9-root-gjohnson
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.51156
+ umask 022
+ cd /home/gjohnson/rpmbuild/BUILD
+ rm -rf libsigsegv-2.4
+ exit 0
[gjohnson at loser src]$ su -c 'rpm -ivh
/home/gjohnson/rpmbuild/RPMS/i686/libsigsegv-2.4-6.fc9.i686.rpm
/home/gjohnson/rpmbuild/RPMS/i686/libsigsegv-devel-2.4-6.fc9.i686.rpm
/home/gjohnson/rpmbuild/RPMS/i686/libsigsegv-static-2.4-6.fc9.i686.rpm'
Password:
Preparing...                ###########################################
[100%]
        file /usr/include/sigsegv.h from install of
libsigsegv-devel-2.4-6.fc9.i686 conflicts with file from package
libsigsegv-devel-2.4-6.fc9.x86_64


So libsissegv can't have 32bit and 64bit libraries installed at the same
time AND the 64bit library doesn't seem to handle 32 programs.
-- 
View this message in context: http://www.nabble.com/platform-specific-sigsegv.h-tp17588023p17588023.html
Sent from the Fedora Test List mailing list archive at Nabble.com.




More information about the fedora-test-list mailing list