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

Re: [MiNT] Native gcc 4.4.1 and binutils 2.19.1



On Sunday 26 July 2009, Miro Kropacek wrote:

> 1. I (cross-)compiled the newest gcc and "old" binutils, i.e.
> produced binaries to run on your atari/aranym

[...]

I tried a test "hello world" program and here is what I get:

root@easymint:/f>/usr/local/bin/gcc hello.c -o hello
u:/tmp/ccCwnuvk.o:u:/tmp/ccCwnuvk.o:(.text+0x14): undefined reference to 
`___main'
/usr/lib/libc.a(internals.o):internals.o:(.text+0x290): undefined 
reference to `___umodsi3'
/usr/lib/libc.a(internals.o):internals.o:(.text+0x2b2): undefined 
reference to `___umodsi3'
/usr/lib/libc.a(internals.o):internals.o:(.text+0x4e6): undefined 
reference to `___umodsi3'
/usr/lib/libc.a(fwrite.o):fwrite.o:(.text+0x18): undefined reference to 
`___mulsi3'
/usr/lib/libc.a(fwrite.o):fwrite.o:(.text+0x128): undefined reference to 
`___udivsi3'
/usr/lib/libc.a(fwrite.o):fwrite.o:(.text+0x18c): undefined reference to 
`___udivsi3'
/usr/lib/libc.a(fwrite.o):fwrite.o:(.text+0x1c4): undefined reference to 
`___udivsi3'
/usr/lib/libc.a(fwrite.o):fwrite.o:(.text+0x284): undefined reference to 
`___udivsi3'
/usr/lib/libc.a(do_fstat.o):do_fstat.o:(.text+0x124): undefined 
reference to `___mulsi3'
/usr/lib/libc.a(assert.o):assert.o:(.text+0x6a): undefined reference to 
`___umodsi3'
/usr/lib/libc.a(assert.o):assert.o:(.text+0x7c): undefined reference to 
`___udivsi3'
/usr/lib/libc.a(strtoul.o):strtoul.o:(.text+0xca): undefined reference 
to `___udivsi3'
/usr/lib/libc.a(strtoul.o):strtoul.o:(.text+0xda): undefined reference 
to `___umodsi3'
/usr/lib/libc.a(strtoul.o):strtoul.o:(.text+0x10c): undefined reference 
to `___mulsi3'
/usr/lib/libc.a(mktime.o):mktime.o:(.text+0x24): undefined reference to 
`___divsi3'
/usr/lib/libc.a(mktime.o):mktime.o:(.text+0x2a): undefined reference to 
`___modsi3'
/usr/lib/libc.a(mktime.o):mktime.o:(.text+0x2b2): undefined reference to 
`___divsi3'
/usr/lib/libc.a(mktime.o):mktime.o:(.text+0x2c4): undefined reference to 
`___divsi3'
/usr/lib/libc.a(mktime.o):mktime.o:(.text+0x2d4): undefined reference to 
`___mulsi3'
/usr/lib/libc.a(mktime.o):mktime.o:(.text+0x428): undefined reference to 
`___modsi3'
/usr/lib/libc.a(mktime.o):mktime.o:(.text+0x486): undefined reference to 
`___modsi3'
/usr/lib/libc.a(mktime.o):mktime.o:(.text+0x51a): undefined reference to 
`___modsi3'
/usr/lib/libc.a(gettimeofday.o):gettimeofday.o:(.text+0xd6): undefined 
reference to `___divsi3'
/usr/lib/libc.a(do_stat.o):do_stat.o:(.text+0x10a): undefined reference 
to `___mulsi3'
/usr/lib/libc.a(tz.o):tz.o:(.text+0x2622): undefined reference to 
`___modsi3'
/usr/lib/libc.a(tz.o):tz.o:(.text+0x26d8): undefined reference to 
`___modsi3'
/usr/lib/libc.a(tz.o):tz.o:(.text+0x2748): undefined reference to 
`___divsi3'
/usr/lib/libc.a(tz.o):tz.o:(.text+0x2772): undefined reference to 
`___divsi3'
/usr/lib/libc.a(tz.o):tz.o:(.text+0x2a02): undefined reference to 
`___modsi3'
/usr/lib/libc.a(strtol.o):strtol.o:(.text+0xc0): undefined reference to 
`___udivsi3'
/usr/lib/libc.a(strtol.o):strtol.o:(.text+0xd0): undefined reference to 
`___umodsi3'
/usr/lib/libc.a(strtol.o):strtol.o:(.text+0x102): undefined reference to 
`___mulsi3'
collect2: ld returned 1 exit status

I've got binutils 2.19.1 and mintlib 0.58.0. GCC 4.4.0 is fine.

-- 
Jean-François Lemaire