modyfing cross toolchain compilation

Nathan Whitehorn nwhitehorn at freebsd.org
Mon Dec 2 00:25:43 UTC 2013


On 10/21/13 01:38, Aleksander wrote:
> hello!
>
> Few days ago, when playing with linux-ppc, I have identified a bug with
> PowerPC toolchain. It turns out that PowerPC e500 core is not compilant
> with generic ppc ISA - it lacks of 'lwsync' instruction. This instruction
> is used in libstdc++.so library, so I need to modify toolchain build
> process by adding -me500v2 option, when building  libraries. Can you tell
> me how to do it, so I can test this potential soluton?
>
This is fixed now in the E500 kernel by adding emulation of the lwsync 
instruction.
-Nathan


More information about the freebsd-hackers mailing list