the following patch was just integrated into master: commit 19a5c59caaf4b064d1d75970ce2e9e62aad0635b Author: Idwer Vollering vidwer@gmail.com Date: Mon Feb 25 03:49:04 2013 +0100
Fix QEMU build for glibc-2.17
The clock_* functions are no longer in librt starting with glibc-2.17, but timer_* functions are.
This solves linker errors similar to this: (32-bit archlinux installation with glibc 2.17-3, binutils 2.23.1-3, glib2 2.34.3-1)
/usr/bin/ld: ../qemu-timer.o: undefined reference to symbol 'timer_settime@@GLIBC_2.2' /usr/bin/ld: note: 'timer_settime@@GLIBC_2.2' is defined in DSO /usr/lib/librt.so.1 so try adding it to the linker command line /usr/lib/librt.so.1: could not read symbols: Invalid operation
Change-Id: I2d335d065457788ef8aada7d0d500e84ba31e4d0 Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com Reviewed-on: http://review.coreboot.org/2504 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer stefan.reinauer@coreboot.org
Build-Tested: build bot (Jenkins) at Sun Mar 17 19:10:47 2013, giving +1 Reviewed-By: Stefan Reinauer stefan.reinauer@coreboot.org at Fri Mar 22 16:31:37 2013, giving +2 See http://review.coreboot.org/2504 for details.
-gerrit