[oe] [RFC] make "LDFLAGS ignored" QA errors fatal

Khem Raj raj.khem at gmail.com
Mon Apr 6 21:49:44 UTC 2009


On 4/6/09, Jeremy Lainé <jeremy.laine at bolloretelecom.eu> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have spent quite some time cleaning up a bunch of recipes which were
> triggering "LDFLAGS ignored" QA errors, and I don't really want to
> have to do this again in the future. I suggest we stop whitelisting
> this kind of QA error, using the attached patch.
>
> To track down the faulty packages I have made use of oestats output
> (note that not all QA errors are "LDFLAGS ignored"):
>
> http://tinderbox.openembedded.net/packages/?qalog=1
>
> In most cases, the problem is that recipes simply pass
> - -L${STAGING_LIBDIR} as LDFLAGS instead of using the full ${LDFLAGS}
> variable. The result is that flags such as --hash-style=gnu are
> getting ignored.

I think we should configure toolchain to pass this flags by gcc driver
while linking instead of making it a part of LDFLAGS it should help in
recipes which use gcc to link.

>
> What are your thoughts?
>
> - --
> Jeremy LAINE
> Bolloré telecom | 11bis, rue Scribe | F-75009 Paris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAknaLysACgkQCL1n3lVB9EZgbQCgoQpUwdae7elUHWag8wqAROY7
> D0sAmQGjH0zrO8OxgI5MPfSAshQz9Fuu
> =to11
> -----END PGP SIGNATURE-----
>
>




More information about the Openembedded-devel mailing list