This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: fix breakage from "[PATCH] Fix genmatch linking"


On October 24, 2014 6:47:10 PM CEST, Hans-Peter Nilsson <hans-peter.nilsson@axis.com> wrote:
>> From: Richard Biener <rguenther@suse.de>
>> Date: Fri, 24 Oct 2014 09:56:51 +0200
>> On Fri, 24 Oct 2014, Hans-Peter Nilsson wrote:
>> > Still, I don't understand exactly how your patch
>> > introduces build-subdirectories where there were none before.
>> > Maybe that "+all-gcc: maybe-all-build-libcpp" was wrong and
>> > should be different?
>> 
>> No, we do need a build-libcpp to build gcc/build/genmatch.
>> Not sure how you got around without a build-libiberty as other
>> gen* programs surely require that.
>
>Regular cross-configurations got around fine as they used the
>"host"-build libiberty, which for crosses seemed to differ from
>"build"-builds(!) only in that they're built at the objdir top
>instead of objdir/build-<hosttuple>.  Crosses *could* still use
>the host libraries, but whatever; we're avoiding a
>cross-or-native-conditional now.  I haven't given
>canadian-crosses any thought, maybe they were broken before.

Most definitely. I wonder why we don't use the same trick with regular bootstrap. There I see build- variants of libiberty used for stage1.

Richard.

>brgds, H-P



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]