[Bug 381215] [NEW] undefined reference to `__builtin_stdarg_start'
Thorsten Glaser
t.glaser at tarent.de
Thu May 28 08:57:51 UTC 2009
Public bug reported:
Breakage with gcc 4.4:
tglase at tglase:~$ gcc test.c
tglase at tglase:~$ ./a.out
'./a.out' called with 1 args
tglase at tglase:~$ rm a.out
tglase at 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
tglase at 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 at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list