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

Re: Bug#357122: FTBFS on mips: cannot compute sizeof (char *)



On Thu, Mar 23, 2006 at 05:32:37PM +0000, Martin Michlmayr wrote:
> clone 357122 -1
> reassign -1 gcc-4.1,autoconf
> retitle -1 mips: -fstack-protector generates warning only but then fails to link
> thanks
> 
> * Martin Michlmayr <tbm@cyrius.com> [2006-03-15 23:27]:
> > | checking whether gcc accepts -fstack-protector... no
> > ...
> > | checking size of char *... 4
> > But let's wait and see what the GCC people say.
> 
> I just had another package fail to build this way so I'm cloning this
> bug.  Can someone please comment whether this is a compiler bug (I
> think so) or whether autoconf needs to be changed.

Without having looked at it closely I'm inclined to say it is a
autoconf bug. -fstack-protector isn't implemented on mips gcc, and
without[1] noexec page support it makes not too much sense to implement
it.


Thiemo


[1] The MIPS SmartMIPS ASE defines an executable bit, but this is for
    now bound to that ASE, which is only used in smartcards.



Reply to: