Hi,

> 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.

Does the error still happen with the new binutils? In that case I'd blame
gcc.

        Michael


> 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!
> <[EMAIL PROTECTED]>
>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to