[oe] [meta-oe][PATCH] Revert "libhugetlbfs: Add i586 to list of compatible host architectures"

Khem Raj raj.khem at gmail.com
Tue May 19 01:26:38 UTC 2015


> On May 13, 2015, at 5:48 AM, Martin Jansa <martin.jansa at gmail.com> wrote:
> 
> It's still failing in world builds even when
> "libhugetlbfs: x86 - don't link against host libs" is applied as well.
> 
> It was reported month ago:
> https://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg41565.html
> 

From this message it seems to me that linker script used for x86 is not digested well by gold and there
might be incompatibilities and gold certainly should not segfault. so its worth filing a bug report against gold as well.
Then there should be another one for libhugetlbfs to ensure that linker script is portable. But then in OE we can use

LDFLAGS += “-fuse-ld=bfd”

in recipe and that should get us going.

Avoid the revert

> This reverts commit 3cc7f186be46a0de049d1fab70ddb84111be6e29.
> ---
> meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
> index 6fe5dce..4ce6a19 100644
> --- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
> +++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
> @@ -24,7 +24,7 @@ SRC_URI = "git://git.code.sf.net/p/libhugetlbfs/code \
> 
> S = "${WORKDIR}/git"
> 
> -COMPATIBLE_HOST = "(i586|x86_64|powerpc|powerpc64|aarch64|arm).*-linux*"
> +COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64|arm).*-linux*"
> 
> LIBARGS = "LIB32=${baselib} LIB64=${baselib}"
> LIBHUGETLBFS_ARCH = "${TARGET_ARCH}"
> --
> 2.4.0
> 
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20150518/58035635/attachment-0002.sig>


More information about the Openembedded-devel mailing list