Re: diet compile error
Felix von Leitner <[email protected]> Mon, 10 Jun 2013 22:02:48 +0200
| Newsgroups | gmane.linux.lib.dietlibc |
|---|---|
| Message-ID | <[email protected]> |
> diet 0.31 opensuse 12.3 binutils 2.23.1 gcc 4.7 > My progrm compiles fine with gcc and uclibc but with diet I get this error. > diet gcc arg.c > /opt/dietlibc/lib-x86_64/libc.a(printf.o): In function `printf': > printf.c:(.text+0x13): undefined reference to `__builtin_stdarg_start' > collect2: error: ld returned 1 exit status > If I remove all the printf statements it compiles and runs fine. > What's up? __builtin_stdarg_start was how gcc before 4.4 implemented variadic functions. dietlibc was changed to use __builtin_va_start instead in November 2008. Please use a more current version of dietlibc. Felix