tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: m68k build failure for 68040
Chuck Silvers <chuq%chuq.com@localhost> wrote:
>On Mon, May 11, 2015 at 05:09:57PM +0100, Robert Swindells wrote:
>>
>> Martin Husemann wrote:
>> >On Mon, May 11, 2015 at 04:43:18PM +0100, Robert Swindells wrote:
>> >>
>> >> Doing a build of current for mac68k with -m68040 defined in mk.conf I
>> >> get the following error. It used to be possible to do an 040 build.
>> >
>> >What exactly are you doing? Accidently dropped all optimizations?
>>
>> I had got this in mk.conf:
>>
>> .if ${MACHINE_ARCH} == m68k
>> COPTS+= -m68040
>> LDFLAGS+= -m68040
>> .endif
>
>with those options turned on, the linker is putting the objects together in
>a different order for some reason, with the effect that the branch target
>of "PICJUMP $_exception_handler" is no longer within range of the 16-bit
>branch displacement which that that macro produces.
>
[snip]
>but the assembler actually produces the 16-bit displacement branch.
>forcing 32-bit displacement (ie. changing the "bra" to "bral")
>fixes the build (though I haven't tried running the resulting binaries).
Binaries built with "bral" seem fine to me.
Did a full update of the system and built a few packages on it.
Robert Swindells
Home |
Main Index |
Thread Index |
Old Index