[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

sid toolchain



Has anyone made any progress with the following error? If not, should I
file this as a binutils or gcc bug?

BTW: I'm queueing gcc-4.2 on vault13, now that binutils has built.

Thanks,

Stephen


hello.c:
void main(void)
{
        printf("Hello world\n");
}

gcc -pie hello.c

/usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_init':
(.text+0x2e): undefined reference to `__init_array_start'
/usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_init':
(.text+0x36): undefined reference to `__init_array_end'
/usr/bin/ld: a.out: hidden symbol `__init_array_end' isn't defined
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status

gcc version 4.1.3 20070831 (prerelease) (Debian 4.1.2-16)
binutils 2.18-1

-- 
Stephen R. Marenka     If life's not fun, you're not doing it right!
<stephen@marenka.net>

Attachment: signature.asc
Description: Digital signature


Reply to: