Opened 16 years ago

Closed 14 years ago

#19179 closed defect (invalid)

VisualBoyAdvance fails on compile (Intel)

Reported by: tero.pihlajakoski@… Owned by: jtonio@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: VisualBoyAdvance

Description

Tries to build ARM-related code on an Intel GCC:

--->  Building VisualBoyAdvance
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_emulators_VisualBoyAdvance/work/VisualBoyAdvance-1.7.2" && make all " returned error 2
Command output: ../arm-new.h:3085: error: can't find a register in class 'BREG' while reloading 'asm'
../arm-new.h:3085: error: can't find a register in class 'BREG' while reloading 'asm'
../arm-new.h:3085: error: can't find a register in class 'BREG' while reloading 'asm'
../arm-new.h:3085: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:870: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:880: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:890: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:900: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:985: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:989: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:993: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:997: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:1001: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:1005: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:1009: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:1013: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:1017: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:1021: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:1025: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:1029: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:1033: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:1037: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:1041: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:1045: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:1156: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:1166: error: can't find a register in class 'BREG' while reloading 'asm'
../thumb.h:1206: error: can't find a register in class 'BREG' while reloading 'asm'
make[2]: *** [GBA.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.

Default system compiler:

gcc --version
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5488)

Change History (6)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to jtonio@…
Port: VisualBoyAdvance added

comment:2 Changed 16 years ago by tero.pihlajakoski@…

On further examination, it doesn't have anything to do with ARM/Thumb, but rather some x86 assembly "thing" (register allocation and ebx came up on google).

comment:3 Changed 16 years ago by jmroot (Joshua Root)

It's emulating an ARM. Latest gcc-4.0 from Xcode is 5490, try upgrading?

comment:4 Changed 16 years ago by tero.pihlajakoski@…

Cool. Worked with a newer gcc. i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490)

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:6 Changed 14 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.