* gcc "internal error" with 32-bit userspace, 64-bit kernel
@ 2008-05-25 9:27 Pierre Ossman
2008-05-26 10:12 ` Thomas Gleixner
0 siblings, 1 reply; 3+ messages in thread
From: Pierre Ossman @ 2008-05-25 9:27 UTC (permalink / raw)
To: LKML, tglx, mingo, hpa
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
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gcc "internal error" with 32-bit userspace, 64-bit kernel
2008-05-25 9:27 gcc "internal error" with 32-bit userspace, 64-bit kernel Pierre Ossman
@ 2008-05-26 10:12 ` Thomas Gleixner
2008-05-26 11:10 ` Pierre Ossman
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Gleixner @ 2008-05-26 10:12 UTC (permalink / raw)
To: Pierre Ossman; +Cc: LKML, mingo, hpa
On Sun, 25 May 2008, Pierre Ossman wrote:
> 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%.
Just tried to reproduce that with git of today. Did not happen.
Which kernel version are you using ?
Thanks,
tglx
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gcc "internal error" with 32-bit userspace, 64-bit kernel
2008-05-26 10:12 ` Thomas Gleixner
@ 2008-05-26 11:10 ` Pierre Ossman
0 siblings, 0 replies; 3+ messages in thread
From: Pierre Ossman @ 2008-05-26 11:10 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: LKML, mingo, hpa
On Mon, 26 May 2008 12:12:25 +0200 (CEST)
Thomas Gleixner <tglx@linutronix.de> wrote:
>
> 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
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-05-26 11:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-25 9:27 gcc "internal error" with 32-bit userspace, 64-bit kernel Pierre Ossman
2008-05-26 10:12 ` Thomas Gleixner
2008-05-26 11:10 ` Pierre Ossman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®