Bug#704624: Build fails to use -ffreestanding
Control: tag -1 + moreinfo
On Wed, Apr 03, 2013 at 06:53:09PM +0100, Robie Basak wrote:
> Package: openhackware
> Version: 0.4.1-6
> User: ubuntu-devel@lists.ubuntu.com
> Usertags: origin-ubuntu raring ubuntu-patch
>
> In Ubuntu, we're getting a build failure like this:
>
> /build/buildd/openhackware-0.4.1/src/bootinfos.c:282: undefined reference to `__stack_chk_fail'
>
> The fix is to build with -ffreestanding to tell the compiler that this
> will be standalone object code.
>
> I can't easily test on Debian since it doesn't have a cross-compiler
> package for powerpc, but if you can use -ffreestanding I think it may
> make sense to do so. Thank you for your consideration.
I have not been able to reproduce the issue, neither with 0.4.1-6 nor
with version 0.4.1+git-20140423.c559da7c-1 I have just uploaded. Are you
sure it is not related to your cross-compiler?
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://www.aurel32.net
Reply to: