Bug 121670 - Compile bug
Summary: Compile bug
Keywords:
Status: CLOSED DUPLICATE of bug 115282
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: gcc
Version: 3.0
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-04-25 03:30 UTC by John Morris
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-21 19:02:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description John Morris 2004-04-25 03:30:11 UTC
Description of problem:

I'm building i386 packages on x86_64 by creating a chroot environment
with a full i386 packageset.  All but two of the srpms from RHEL3 will
successfully rebuild in this way, gcc being one of the failures.

Version-Release number of selected component (if applicable):

gcc-3.2.3-20.src.rpm


How reproducible:

Always

Steps to Reproduce:
1.  Build up a chroot environment of RHEL3 while running the x86_64
kernel.
2.  Attempt rebuilding gcc-3.2.3-20.src.rpm.
3.  Watch it fail.
4.  Reboot into an i386 environment, plug back into the same chrooted
environment and repeat.  It will succeed.

I am doing all of the proper steps to create a full chrooted build
environment.  /proc, /dev/pts and /dev/shm are being mounted and a
setarch i386 is being done in front of the chroot command.  The script
used to create the chroot is available if needed.
  
Actual results:

Comparing captures of the build, things go wrong here:

checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether gcc and cc understand -c and -o together... yes
checking for gnatbind... gnatbind
checking for compiler driver that understands Ada... no

Expected results:

When building with an athlon kernel I get this correct output:

checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether gcc and cc understand -c and -o together... yes
checking for gnatbind... gnatbind
checking for compiler driver that understands Ada... gcc

I really tried to track down what is going wrong in more detail, but I
just can't make heads or tails out of the GCC spec file, to say
nothing of the actual configure script for that puppy.

Comment 1 John Morris 2004-05-02 00:50:15 UTC

*** This bug has been marked as a duplicate of 115282 ***

Comment 2 Red Hat Bugzilla 2006-02-21 19:02:46 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


Note You need to log in before you can comment on or make changes to this bug.