Public bug reported: Breakage with gcc 4.4:
tgl...@tglase:~$ gcc test.c tgl...@tglase:~$ ./a.out './a.out' called with 1 args tgl...@tglase:~$ rm a.out tgl...@tglase:~$ diet gcc test.c /usr/lib/diet/lib-i386/libc.a(vprintf.o): In function `vprintf': vprintf.c:(.text+0x20): warning: warning: the printf functions add several kilobytes of bloat. /tmp/cccpAo38.o: In function `printfoo': test.c:(.text+0x14): undefined reference to `__builtin_stdarg_start' collect2: ld returned 1 exit status tgl...@tglase:~$ cat test.c #include <stdarg.h> #include <stdio.h> #include <stdlib.h> void printfoo(const char *, ...); void printfoo(const char *fmt, ...) { va_list va; va_start(va, fmt); if (vprintf(fmt, va) < 0) abort(); va_end(va); } int main(int argc, char *argv[]) { printfoo("'%s' called with %d args\n", argv[0], argc); } ** Affects: dietlibc (Ubuntu) Importance: Undecided Status: New ** Affects: mksh (Ubuntu) Importance: Undecided Status: New -- undefined reference to `__builtin_stdarg_start' https://bugs.launchpad.net/bugs/381215 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs