Bug 3299 - Problem with arch32 tests on 64bit platform
Summary: Problem with arch32 tests on 64bit platform
Status: RESOLVED DUPLICATE of bug 3692
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 3692
  Show dependency treegraph
 
Reported: 2006-10-03 16:13 UTC by Stepan Kasal
Modified: 2006-12-11 04:26 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stepan Kasal 2006-10-03 16:13:13 UTC
On x86-64, the makefiles also try to build the fedora-core tests as 32bit
binaries. This does not work if the 32bit version of glibc is not available.

The configure script should check that the 32bit binaries can be compiled, and
if they cannot, it should either fail and complain, or switch off the arch32 tests.
Moreover, our build instructions should perhaps list glibc.i386 among the
requirements.

Moreover, some of the tests require libgcc_s.
Again, a possible solution might be to check that libgcc.i386 is installed.
But I was adviced that an alternative might be to try gcc -static-libgcc.
Comment 1 Andrew Cagney 2006-10-03 16:37:48 UTC
(In reply to comment #0)

> Moreover, some of the tests require libgcc_s.
> Again, a possible solution might be to check that libgcc.i386 is installed.
> But I was adviced that an alternative might be to try gcc -static-libgcc.

Is this a separate bug?  Or just another example of the same bug, that 32-bit
libgcc was missing.
Comment 2 Andrew Cagney 2006-10-03 16:45:56 UTC
(In reply to comment #0)
> On x86-64, the makefiles also try to build the fedora-core tests as 32bit
> binaries. This does not work if the 32bit version of glibc is not available.

And PPC64?
And s390x?

> The configure script should check that the 32bit binaries can be compiled, and
> if they cannot, it should either fail and complain, or switch off the arch32
tests.
> Moreover, our build instructions should perhaps list glibc.i386 among the
> requirements.

FAIL; part of 64-bit is building and running 32x64 tests.

Is there a meta-rpm that this could refer to?
Comment 3 Stepan Kasal 2006-10-03 17:31:04 UTC
(In reply to comment #2)
> And s390x?
> And PPC64?

I suppose the same problem will hit there, too.  I just took the most common
example for now.

> > The configure script should check that the 32bit binaries can be compiled, and
> > if they cannot, it should either fail [...]

> FAIL; part of 64-bit is building and running 32x64 tests.

Thanks for the answer!
Comment 4 Andrew Cagney 2006-12-11 04:26:28 UTC

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