gcc "internal error" with 32-bit userspace, 64-bit kernel
I'm having a bit of a problem with the x86 32-bit compatibility and I don't really know how to debug it.
The problem is that gcc fails some builds with "internal error" when I'm running a 32-bit userspace on a 64-bit kernel. The same test scenario with a 32-bit kernel works fine.
More specifically, I'm using Red Hat's mock tool on Fedora 9 to build packages. It sets up a chroot:ed environment where (as far as I can tell) everything is from the target system. Building for 32-bit Fedora 8 succeeds, but not Fedora 9 or RHEL 5.
Ideas on how to proceed? From what I've read, the 32-bit compatibility of the kernel should be 100%.
Rgds
Signature · 4 lines
-- Pierre Ossman Linux kernel, MMC maintainer http://www.kernel.org rdesktop, core developer http://www.rdesktop.org
Quoted 7 lines · Pierre Ossman
I'm having a bit of a problem with the x86 32-bit compatibility and I don't really know how to debug it.
The problem is that gcc fails some builds with "internal error" when I'm running a 32-bit userspace on a 64-bit kernel. The same test scenario with a 32-bit kernel works fine.
Quoted 7 lines
More specifically, I'm using Red Hat's mock tool on Fedora 9 to build packages. It sets up a chroot:ed environment where (as far as I can tell) everything is from the target system. Building for 32-bit Fedora 8 succeeds, but not Fedora 9 or RHEL 5.
Ideas on how to proceed? From what I've read, the 32-bit compatibility of the kernel should be 100%.
Just tried to reproduce that with git of today. Did not happen.
Which kernel version are you using ?
Thanks,
tglx
Quoted 5 lines · On Mon, 26 May 2008 12:12:25 +0200 (CEST) Thomas Gleixner <[email protected]>…
Just tried to reproduce that with git of today. Did not happen.
Which kernel version are you using ?
Linux builder-f9.drzeus.cx 2.6.25.3-18.fc9.x86_64 #1 SMP Tue May 13 04:54:47 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
Package I'm building is this one:
http://apt.drzeus.cx/oee/5/SRPMS/courier-0.59.0-1.el5.src.rpm
which also needs:
http://apt.drzeus.cx/oee/5/SRPMS/courier-authlib-0.60.4-1.el5.src.rpm
http://apt.drzeus.cx/oee/5/i386/courier-authlib-0.60.4-1.el5.i386.rpm
http://apt.drzeus.cx/oee/5/i386/courier-authlib-devel-0.60.4-1.el5.i386.rpm
Being built using this command:
mock -r epel-5-i386 --rebuild courier-0.59.0-1.el5.src.rpm
Result in build.log:
ar cru .libs/librewrite.a esmtp.o
ranlib .libs/librewrite.a
creating librewrite.la
(cd .libs && rm -f librewrite.la && ln -s ../librewrite.la librewrite.la)
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions. make[4]: *** [esmtpclient.o] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]:
*** [all] Error 2
make:
*** [all-recursive] Error 1
error:
Bad exit status from /var/tmp/rpm-tmp.81020 (%build)
Rgds
Signature · 4 lines
-- Pierre Ossman Linux kernel, MMC maintainer http://www.kernel.org rdesktop, core developer http://www.rdesktop.org