Re: The canadian cross build is broken

DJ Delorie
2002-03-25T17:50:32Z

> I did. You can follow
>
> http://sources.redhat.com/ml/binutils/2002-02/msg00120.html
>
> to see it. DJ believed my patch was wrong, but didn't provide a working
> solution.

The problem is that --with-target-subdir invokes some behaviors that
aren't appropriate for a build-libiberty, mostly pertaining to
multilibs. You yourself weren't sure of your patch:

"The following hack seems to work, but I'm not convinced it's the
right fix."

> So far, only 2 people complained.

The number of people complaining usually has nothing to do with the
severity of a bug or the correctness of its solution. Plus, we do
canadians inside Red Hat all the time and nobody's complained to me
internally. This doesn't mean it's not a problem, it just means it's
not an "obviously broken" type of problem. There is a trivial
workaround (which is why RH doesn't see it): don't build in the source
directory.

Perhaps we should disable building in the source directory if it's not
a simple native? It would simplify some things and make maintaining
it easier. But that depends on how much more effort is needed to get
the current solution working right.

> We need more people to tell DJ to get it fixed.

Sorry, this won't work. I'm a volunteer, just like you. Maybe we
need more people to tell *you* to submit a correct solution? However,
I appreciate the reminder (even a mildly insulting one) as I do have
this on my todo list, and might have time to actually *look at* my
todo list this week ;)

> Maybe I should give up since my gcc, gdb and binutils don't have
> this problem.

You may do whatever you wish in your own sources, and we certainly
can't force you to contribute back to the official sources.