Skip to contentSkip to conversation

New: udev 181 fails to build if kernel version 3.3 is selected

Buildroot bugzilla at busybox.net 2 participants 7 messages Mar 22, 2012 – May 3, 2012

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=4970

Summary: udev 181 fails to build if kernel version 3.3 is
selected
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: graeme.russ at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0

Currently at git commit b5fd0f2709cab72f48da12a5804dd8670fffbf6e

.config attached

Error is:

src/src_udevd-sd-daemon.o: In function `sd_is_mq':
sd-daemon.c:(.text+0x6a5): undefined reference to `mq_getattr'
collect2: ld returned 1 exit status
make[3]: *** [src/udevd] Error 1
make[3]: *** Waiting for unfinished jobs....
CCLD src/extras/ata_id/ata_id
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/graeme/Source/buildroot/output/build/udev-181'
make: *** [/home/graeme/Source/buildroot/output/build/udev-181/.stamp_built] Error 2

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 4970] udev 181 fails to build if kernel version 3.3 is selected

https://bugs.busybox.net/show_bug.cgi?id=4970

--- Comment #1 from Graeme Russ <[email protected]> 2012-03-22 12:16:41 UTC --- Created attachment 4184
--> https://bugs.busybox.net/attachment.cgi?id=4184
buildroot config

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 4970] udev 181 fails to build if kernel version 3.3 is selected

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=4970

--- Comment #2 from Thomas Petazzoni <[email protected]> 2012-04-24 08:41:31 UTC --- I have taken your exact configuration, and didn't manage to reproduce the bug.
By any chance, did you make manual modifications to the uClibc configuration by running make uclibc-menuconfig? If you've done so and disabled
UCLIBC_HAS_REALTIME, then mq_getattr would not be available in the C library,
leading to the error you got.

Can you get back to us and confirm which uClibc you had? Thanks!

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 4970] udev 181 fails to build if kernel version 3.3 is selected

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=4970

James Le Cuirot <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |chewi at aura-online.co.uk

--- Comment #3 from James Le Cuirot <[email protected]> 2012-04-27 21:12:02 UTC --- Actually I've encountered this too but building on Gentoo using Portage rather than Buildroot. My target is i586-pc-linux-uclibc and I have definitely enabled UCLIBC_HAS_REALTIME. I've checked and mq_getsetattr.c, where this function is defined, definitely gets built but for some reason, the symbol is missing from librt. I haven't yet managed to work out why.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#5 lore raw

[Buildroot] [Bug 4970] udev 181 fails to build if kernel version 3.3 is selected

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=4970

--- Comment #4 from James Le Cuirot <[email protected]> 2012-04-27 21:49:13 UTC --- Aha! Found the cause and it turns out this is a Linux bug that has already been fixed.

http://kernel.opensuse.org/cgit/kernel/commit/?id=4141a94694efc7d6c58e81bc55717161438d7816

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#6 lore raw

[Buildroot] [Bug 4970] udev 181 fails to build if kernel version 3.3 is selected

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=4970

Gustavo Zacarias <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Gustavo Zacarias <[email protected]> 2012-05-03 20:26:27 UTC --- Fixed by commit e1443db85bc7dc2a863c4bbfdf6fe777f390ad70

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.