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

[m68k] missing __init_array_start, __init_array_end in __libc_csu_init



Please cc me.

I saw 427990 for hppa and it made me question whether the following
could be related for m68k?

What do ya'll think?

Thanks,

Stephen

----- Forwarded message from Stephen R Marenka <stephen@marenka.net> -----

Old-Return-Path: <stephen@syrinx.marenka.net>
From: Stephen R Marenka <stephen@marenka.net>
To: debian-68k@lists.debian.org
Subject: missing __init_array_start, __init_array_end in __libc_csu_init
Mail-Followup-To: debian-68k@lists.debian.org
X-Mailing-List: <debian-68k@lists.debian.org> archive/latest/12396

freeradius and audit, at least, fail with the following error. A little
googling got me a test case. It also got me the feeling it's a binutils 
type problem.

Any ideas?

Thanks,

Stephen


smarenka@zeus:~$ cat hello.c
void main(void)
{
        printf("Hello world\n");
}

smarenka@zeus:~$ gcc -pie hello.c
hello.c: In function 'main':
hello.c:3: warning: incompatible implicit declaration of built-in function 'printf'
hello.c:2: warning: return type of 'main' is not 'int'
/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


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



----- End forwarded message -----

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