Doing a release?

Peter Korsgaard peter at korsgaard.com
Fri Nov 22 10:38:17 UTC 2013


>>>>> "Bernhard" == Bernhard Reutner-Fischer <rep.dot.nop at gmail.com> writes:

Hi,

 > So, consider current master tip -rc point buildroot to use
 > http://git.uclibc.org/uClibc/snapshot/uClibc-0e03ac5a6c4265fb4ddcdcbf5fdc9f20bcbef203.tar.bz2
 > and verify if that works for the arches buildroot supports.

I did a quick test build with todays snapshot on ARM and noticed
that the posix_fadvise stuff doesn't build on !LFS:

libc/sysdeps/linux/common/posix_fadvise.c:19:29: error: unknown type name 'off64_t'
libc/sysdeps/linux/common/posix_fadvise.c:19:45: error: unknown type name 'off64_t'

I'm not quite sure how to fix this. We can certainly
s/off64_t/__off64_t/, but then we end up with linker errors:

libc/libc_so.a(posix_fadvise.os): In function `posix_fadvise':
posix_fadvise.c:(.text+0x1c): undefined reference to `posix_fadvise64'
collect2: error: ld returned 1 exit status

As posix_fadvise64.c never gets built because of:

libc/sysdeps/linux/common/Makefile.in:
CSRC_LFS := $(notdir $(wildcard $(COMMON_DIR)/*64.c))

So how to fix? Just rename posix_fadvise64.c? ;)

-- 
Bye, Peter Korsgaard


More information about the uClibc mailing list