[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libqalculate FTBFS on mips* (ball, rem)

Richard B. Kreckel wrote:
> On Mon, 5 Sep 2005, Thiemo Seufer wrote:
> > The "jr" failed because the mips assembler fails to take the segment
> > offset of .text into account, which leads to the relevant relocation
> > being NULL. The appended diff aginst the modules.h of your testcase
> > - removes the additional checks for __mips{el,64}__ because __mips__ is
> >   generally defined for those configurations.
> By whom is it generally defined?

By gcc. :-)

> Okay, gcc does so, and that code is gcc
> specific, so the point is moot.  But I'm curious and I remember I've
> wondered before.

For the traditional vendor compilers there's a rather inconsistent
mess of macros, "mips" with varying amounts of underscores, _MIPSE{B,L},
MIPS_SIM_*, ABIO32 etc. Gcc supports some of them as well.


Reply to: