Bug 23927 - --enable-intermodule is broken on targets with mutlilibs even with --disable-multilib
Summary: --enable-intermodule is broken on targets with mutlilibs even with --disable-...
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.1.0
: P2 normal
Target Milestone: 4.2.0
Assignee: Not yet assigned to anyone
URL:
Keywords: build
Depends on:
Blocks:
 
Reported: 2005-09-17 03:43 UTC by Andrew Pinski
Modified: 2006-03-02 16:04 UTC (History)
1 user (show)

See Also:
Host: x86_64-*-linux-gnu
Target: x86_64-*-linux-gnu
Build: x86_64-*-linux-gnu
Known to work:
Known to fail:
Last reconfirmed: 2005-10-23 23:41:41


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Pinski 2005-09-17 03:43:50 UTC
--enable-intermodule is trying to building libbackend.o on stage1.
Error message:

gcc: cannot specify -o with -c or -S and multiple compilations
make[4]: *** [libbackend.o] Error 1
make[4]: Leaving directory `/home/pinskia/src/onetest/gcc/objdir/gcc'
make[3]: *** [extra] Error 2
make[3]: Leaving directory `/home/pinskia/src/onetest/gcc/objdir/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/home/pinskia/src/onetest/gcc/objdir/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/home/pinskia/src/onetest/gcc/objdir/gcc'
make: *** [bootstrap] Error 2
gcc_build: error: Could not bootstrap the compiler
Comment 1 Andrew Pinski 2005-09-17 05:28:33 UTC
configure options: --prefix=${HOME}/onetest --enable-languages=objc,obj-c++,java,f95 --disable-
multilib --enable-intermodule --disable-werror


Hmm, IIRC this is not a regression after all and just never worked in the first place.
Comment 2 Andrew Pinski 2005-09-17 05:44:21 UTC
I think OBJS-onestep is not being passed to make when building libgcc.
Comment 3 Andrew Pinski 2005-10-23 23:41:41 UTC
Confirmed by other people on IRC.
Comment 4 Andrew Pinski 2006-01-21 02:54:12 UTC
This is fixed with the toplevel bootstrap but I am waiting for the regressions associated with the toplevel bootstrap to close this bug.
Comment 5 Andrew Pinski 2006-03-02 16:04:58 UTC
Fixed for 4.2.0 by enabling of toplevel bootstrap.