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

Re: libgringotts: FTBFS on mips with gcc 4.0 and -fmudflap



Bastian Kleineidam wrote:
> Hi,
> 
> On Mon, Jul 11, 2005 at 12:42:03PM +0200, Thiemo Seufer wrote:
> > Bastian Kleineidam wrote:
> > > And the error:
> > > checking for C compiler default output file name... configure: error: C compiler cannot create executables
> > > See `config.log' for more details.
> > > make: *** [config.status] Error 77
> > 
> > That seems to be the same error the gcc testsuite shows for anything
> > related to libmudflap.
> Ok, so I disabled mudflap support on mips architectures. Here is the
> debian/rules snippet I use (using cdbs build system):
> 
> # use libmudflap, but not on mips/mipsel
> ifeq (, $(findstring mips, $(DEB_HOST_ARCH)))
> CFLAGS += -fmudflap
> LDFLAGS += -lmudflap
> DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="$(LDFLAGS)"
> endif

You may want to use "findstring mips mipsel" to cover both endianesses.


Thiemo

Attachment: signature.asc
Description: Digital signature


Reply to: