Skip to contentSkip to conversation

New: [PowerPC] Buildroot uses wrong external toolchain libraries for non-generic architecture variants

Buildroot bugzilla at busybox.net 1 participant 2 messages Oct 21, 2013

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=6572

Summary: [PowerPC] Buildroot uses wrong external toolchain
libraries for non-generic architecture variants
Product: buildroot
Version: 2013.08
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: aleek998 at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0

Using Codesoucery external toolchain, and architecture variant 8548 / e500v2, toolchain libraries are copied from powerpc-linux-gnu/libc/nof but should be copied from powerpc-linux-gnu/libc/te500v2.

Library powerpc-linux-gnu/libc/nof/usr/lib/libstdc++.so contains 'lwsync' instruction which is invalid on e500v2 and causes Invalid Instruction fault for every c++ based application.

I tested the temporaty workaround (copying te500v2 dir to nof dir) and it solved the bug.

I suppose that this bug might involve all PowerPC architecture variants.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 6572] [PowerPC] Buildroot uses wrong external toolchain libraries for non-generic architecture variants

https://bugs.busybox.net/show_bug.cgi?id=6572

Thomas De Schampheleire <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Thomas De Schampheleire <[email protected]> 2013-10-21 06:33:01 UTC --- Did you set BR2_TARGET_OPTIMIZATION ("Target optimizations") correctly in the
toolchain menu? The help text of the CodeSourcery toolchains mention this:

-------
- e500v2 glibc, 32 bits
Set BR2_TARGET_OPTIMIZATION to -te500v2
-------

If this does not work for you, feel free to discuss this problem on the mailing list, IRC, or reopen this bug.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.