Bug 8446

Summary: rpi-userland failed to build with glibc 2.22
Product: buildroot Reporter: gamadril.dev
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: minor CC: buildroot, yann.morin.1998
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:

Description gamadril.dev 2015-11-05 21:04:32 UTC
I tried to compile the current git state (1daa4c95a4bb93621292dd5c9d24285fcddb4026) for raspberry pi board with glibc2.2 as c lib. But the build fails on the rpi-userland package. Seems that the issue was already fixed (https://github.com/raspberrypi/userland/commit/34f02079dcb4602e86c578958eddf5ec072f85ea). Changing the value manually in containers/CMakeLists.txt makes the build go on.
Comment 1 Yann E. MORIN 2015-11-05 21:14:24 UTC
Hello,

Care to send a patch bumping the version of rpi-userland, please?

Thanks!

Regards,
Yann E. MORIN.
Comment 2 gamadril.dev 2015-11-05 22:50:21 UTC
Hello,

sure, however I don't really know how to do it. I tried to change the RPI_USERLAND_VERSION in rpi-userland.mk to the git commit with the fix in the repo on github, but as I could see on the console the build script tries to get it from http://sources.buildroot.net/rpi-userland-COMMIT_HASH.tar.gz and that particular code state is not present there.


regards,
Daniel
Comment 3 Peter Korsgaard 2015-11-22 22:02:49 UTC
Fixed in git, thanks:

commit 2a8e96d05738421898c373ffaeb61ef3ab008ef2
Author: Yann E. MORIN <yann.morin.1998@free.fr>
Date:   Sun Nov 22 15:03:34 2015 +0100

    package/rpi-userland: bump version
    
    Fixes build with glibc-2.22.
    
    Also fixes hard-to-trigger deadlock in highly threaded case, and fix
    libraries dependencies.
    
    Misc minor improvements in test programs as well.
    
    Fixes #8446.
    
    Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
    Cc: gamadril.dev@gmail.com
    Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
    Signed-off-by: Peter Korsgaard <peter@korsgaard.com>