undefined reference to `__builtin_stdarg_start'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dietlibc (Debian) |
Fix Released
|
Unknown
|
|||
dietlibc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
mksh (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Breakage with gcc 4.4:
tglase@tglase:~$ gcc test.c
tglase@tglase:~$ ./a.out
'./a.out' called with 1 args
tglase@tglase:~$ rm a.out
tglase@tglase:~$ diet gcc test.c
/usr/lib/
vprintf.
/tmp/cccpAo38.o: In function `printfoo':
test.c:
collect2: ld returned 1 exit status
tglase@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;
if (vprintf(fmt, va) < 0)
va_end(va);
}
int
main(int argc, char *argv[])
{
}
Related branches
tags: | added: patch |
Changed in dietlibc (Debian): | |
status: | Unknown → New |
Changed in dietlibc (Debian): | |
status: | New → Fix Released |
The attached debdiff fixes this problem and allows mksh to build again.
I suggest to forward it upstream to both Debian and Fefe though.