Bug 8446 - rpi-userland failed to build with glibc 2.22
Summary: rpi-userland failed to build with glibc 2.22
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-05 21:04 UTC by gamadril.dev
Modified: 2015-11-22 22:02 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>