sammielove45 / propgcc

Automatically exported from code.google.com/p/propgcc
1 stars 1 forks source link

MacOSX propeller-elf-gcc -mcog mode appears to be broken #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. build propeller-gcc toolchain
2. cd propgcc/demos/pong
3. make

What is the expected output? What do you see instead?
Successful build. Failed build.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by jsden...@gmail.com on 24 Mar 2012 at 12:35

GoogleCodeExporter commented 9 years ago
This error does not happen on any other host type (windows, linux, i686, x86_64)

propgcc/demos/pong $ make
propeller-elf-gcc -mcog -Os -o pong.elf pong.c
/var/folders/mh/rzg8pxdx1hgdzbybl538p7j80000gn/T//ccZYFThA.o: In function 
`_printdigit.constprop.2':
(.text+0x90): undefined reference to `__MULSI_ret'
/var/folders/mh/rzg8pxdx1hgdzbybl538p7j80000gn/T//ccZYFThA.o: In function 
`_printdigit.constprop.2':
(.text+0x90): undefined reference to `__MULSI'
/var/folders/mh/rzg8pxdx1hgdzbybl538p7j80000gn/T//ccZYFThA.o: In function 
`_printscore.constprop.0':
(.text+0x120): undefined reference to `__UDIVSI_ret'
/var/folders/mh/rzg8pxdx1hgdzbybl538p7j80000gn/T//ccZYFThA.o: In function 
`_printscore.constprop.0':
(.text+0x120): undefined reference to `__UDIVSI'
/var/folders/mh/rzg8pxdx1hgdzbybl538p7j80000gn/T//ccZYFThA.o: In function 
`_vline.constprop.3':
(.text+0x194): undefined reference to `__MULSI_ret'
/var/folders/mh/rzg8pxdx1hgdzbybl538p7j80000gn/T//ccZYFThA.o: In function 
`_vline.constprop.3':
(.text+0x194): undefined reference to `__MULSI'
collect2: ld returned 1 exit status
make: *** [pong.elf] Error 1

Original comment by jsden...@gmail.com on 24 Mar 2012 at 3:19

GoogleCodeExporter commented 9 years ago
David fixed this problem with change: 452833b428a8
http://code.google.com/p/propgcc/source/detail?r=452833b428a8727055029ea5cebca1a
9e5a72fb0

Thanks David.

Original comment by jsden...@gmail.com on 25 Mar 2012 at 6:58