All of lore.kernel.org
 help / color / mirror / Atom feed
* CFLAGS_append_arm = " -fforward-propagate " breaks sdk builds
@ 2010-06-30  8:47 Koen Kooi
  2010-07-01  6:52 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Koen Kooi @ 2010-06-30  8:47 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

When using an old compiler (e.g. the one ubuntu 8.04LTS ships with),
zlib and ncurses fail to build because " -fforward-propagate" is not
recognized as an option.

This is due to:

CFLAGS_append_arm = " -fforward-propagate "

In the .inc files. My question: why does ncursus-sdk get that in cflags?!?!

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMKwS5MkyGM64RGpERAkrUAJ9/6f9Xwfq31TooCkrx39tuOO+twACfeLGb
d7VMZZJgobUiZgNM1rfrLv8=
=t8GK
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: CFLAGS_append_arm = " -fforward-propagate " breaks sdk builds
  2010-06-30  8:47 CFLAGS_append_arm = " -fforward-propagate " breaks sdk builds Koen Kooi
@ 2010-07-01  6:52 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2010-07-01  6:52 UTC (permalink / raw)
  To: openembedded-devel

On Wed, Jun 30, 2010 at 1:47 AM, Koen Kooi <k.kooi@student.utwente.nl> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> When using an old compiler (e.g. the one ubuntu 8.04LTS ships with),
> zlib and ncurses fail to build because " -fforward-propagate" is not
> recognized as an option.
>

I wonder if there is a way to make OE aware of what gcc/binutils or
other cross tools versions it is being compiled with and then decide
on options based on that.
we could poke cross compiler on the fly
something like.

check_gcc=$(shell \
        if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1;
\
        then echo "$(1)"; else echo "$(2)"; fi)
> This is due to:
>
> CFLAGS_append_arm = " -fforward-propagate "
>
> In the .inc files. My question: why does ncursus-sdk get that in cflags?!?!

its using BBLASSEXTEND now for sdk may be it uses TARGET_ARCH in overrides.

>
> regards,
>
> Koen
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iD8DBQFMKwS5MkyGM64RGpERAkrUAJ9/6f9Xwfq31TooCkrx39tuOO+twACfeLGb
> d7VMZZJgobUiZgNM1rfrLv8=
> =t8GK
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-01  6:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-30  8:47 CFLAGS_append_arm = " -fforward-propagate " breaks sdk builds Koen Kooi
2010-07-01  6:52 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.