01/51: piglit: fix build failure with gold linker
Quoted 35 lines · On Wed, Aug 10, 2016 at 09:47:26AM +0000, [email protected] wrote:
rpurdie pushed a commit to branch master
in repository openembedded-core.commit
79005ff905f8c82a8766af5a927b9a0f8929e24f
Author: Maxin B. John <[email protected]>
AuthorDate: Mon Aug 1 18:34:49 2016 +0300piglit: fix build failure with gold linker
When we use gold linker while DISTRO set to "nodistro", piglit build fails with the following error:
| ../../../../lib/libpiglitutil_gl.so.0: error: undefined reference to 'dlsym'
| ../../../../lib/libpiglitutil_gl.so.0: error: undefined reference to 'dlerror'
| ../../../../lib/libpiglitutil_gl.so.0: error: undefined reference to 'dlopen'
| collect2: error: ld returned 1 exit statusFix it by providing '-ldl' to LDFLAGS.
[YOCTO #9851]
Signed-off-by Maxin B. John <[email protected]>Signed-off-by Ross Burton <[email protected]>--- meta/recipes-graphics/piglit/piglit_git.bb | 2 ++ 1 file changed, 2 insertions(+)meta/recipes-graphics/piglit/piglit_git.bb +0
-0
meta/recipes-graphics/piglit/piglit_git.bb do_compile[dirs] =+ "${B}/temp/" · line 33
Quoted 4 lines
meta/recipes-graphics/piglit/piglit_git.bb +1
-0@@ -30,6 +30,8 @@ do_compile[dirs] =+ "${B}/temp/" PACKAGECONFIG ??= "" PACKAGECONFIG[freeglut] = "-DPIGLIT_USE_GLUT=1,-DPIGLIT_USE_GLUT=0,freeglut," +LDFLAGS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '-ldl', '', d)}"
There was request to fix it properly in piglit code, why was this version merged instead?
Quoted 13 lines
meta/recipes-graphics/piglit/piglit_git.bb +1
-0+ do_configure_prepend() { if [ "${@bb.utils.contains('PACKAGECONFIG', 'freeglut', 'yes', 'no', d)}" = "no" ]; then sed -i -e "/^#.*include <GL\/freeglut_ext.h>$/d" ${S}/src/piglit/glut_wrap.hSignature · 8 lines
-- To stop receiving notification emails like this one, please contact the administrator of this repository. -- _______________________________________________ Openembedded-commits mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-commits
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 46 lines · Martin Jansa
On Wed, Aug 10, 2016 at 09:47:26AM +0000, [email protected] wr ote:
Quoted 44 lines
rpurdie pushed a commit to branch master
in repository openembedded-core.commit
79005ff905f8c82a8766af5a927b9a0f8929e24f
Author: Maxin B. John <[email protected]>
AuthorDate: Mon Aug 1 18:34:49 2016 +0300piglit: fix build failure with gold linker
When we use gold linker while DISTRO set to "nodistro", piglit
build
fails with the following error:| ../../../../lib/libpiglitutil_gl.so.0: error: undefined
reference to'dlsym' | ../../../../lib/libpiglitutil_gl.so.0: error: undefined reference to 'dlerror' | ../../../../lib/libpiglitutil_gl.so.0: error: undefinedreference to
'dlopen'
| collect2: error: ld returned 1 exit statusFix it by providing '-ldl' to LDFLAGS.
[YOCTO #9851]
Signed-off-by Maxin B. John <[email protected]>Signed-off-by Ross Burton <[email protected]>--- meta/recipes-graphics/piglit/piglit_git.bb | 2 ++ 1 file changed, 2 insertions(+)meta/recipes-graphics/piglit/piglit_git.bb +0
-1@@ -30,6 +30,8 @@ do_compile[dirs] =+ "${B}/temp/" PACKAGECONFIG ??= "" PACKAGECONFIG[freeglut] = "-DPIGLIT_USE_GLUT=1, -DPIGLIT_USE_GLUT=0,freeglut,"
Quoted 5 lines
meta/recipes-graphics/piglit/piglit_git.bb do_compile[dirs] =+ "${B}/temp/" · line 34
Quoted 2 lines
meta/recipes-graphics/piglit/piglit_git.bb +1
-1+LDFLAGS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is -gold', '-ldl', '', d)}"There was request to fix it properly in piglit code, why was this version merged instead?
Accidentally. It made it into mut and I'd assumed this was a v2. Sadly I don't keep all patch context in my head. I can revert it.
Cheers,
Richard
Quoted 47 lines · Richard Purdie
Quoted 46 lines · Martin Jansa
On Wed, Aug 10, 2016 at 09:47:26AM +0000, [email protected] wr ote:
Quoted 44 lines
rpurdie pushed a commit to branch master
in repository openembedded-core.commit
79005ff905f8c82a8766af5a927b9a0f8929e24f
Author: Maxin B. John <[email protected]>
AuthorDate: Mon Aug 1 18:34:49 2016 +0300piglit: fix build failure with gold linker
When we use gold linker while DISTRO set to "nodistro", piglit
build
fails with the following error:| ../../../../lib/libpiglitutil_gl.so.0: error: undefined
reference to'dlsym' | ../../../../lib/libpiglitutil_gl.so.0: error: undefined reference to 'dlerror' | ../../../../lib/libpiglitutil_gl.so.0: error: undefinedreference to
'dlopen'
| collect2: error: ld returned 1 exit statusFix it by providing '-ldl' to LDFLAGS.
[YOCTO #9851]
Signed-off-by Maxin B. John <[email protected]>Signed-off-by Ross Burton <[email protected]>--- meta/recipes-graphics/piglit/piglit_git.bb | 2 ++ 1 file changed, 2 insertions(+)meta/recipes-graphics/piglit/piglit_git.bb +0
-1@@ -30,6 +30,8 @@ do_compile[dirs] =+ "${B}/temp/" PACKAGECONFIG ??= "" PACKAGECONFIG[freeglut] = "-DPIGLIT_USE_GLUT=1, -DPIGLIT_USE_GLUT=0,freeglut,"
Quoted 8 lines
Quoted 5 lines
meta/recipes-graphics/piglit/piglit_git.bb do_compile[dirs] =+ "${B}/temp/" · line 34
Quoted 2 lines
meta/recipes-graphics/piglit/piglit_git.bb +1
-1+LDFLAGS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is -gold', '-ldl', '', d)}"There was request to fix it properly in piglit code, why was this version merged instead?
Accidentally. It made it into mut and I'd assumed this was a v2. Sadly I don't keep all patch context in my head. I can revert it.
I don't blame you, it's hard to keep all patch context in head without tools to keep it for you (gerrit) :).
It can be properly resolved in follow-up change, so I think revert isn't necessary for now.
Thanks
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]