Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 9251] New: Shared C++ libraries for Microblaze results in Segmentation Fault
@ 2016-09-14 18:56 bugzilla at busybox.net
  2016-09-14 19:07 ` [Buildroot] [Bug 9251] " bugzilla at busybox.net
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2016-09-14 18:56 UTC (permalink / raw)
  To: buildroot

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

            Bug ID: 9251
           Summary: Shared C++ libraries for Microblaze results in
                    Segmentation Fault
           Product: buildroot
           Version: 2016.08
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: scotttimothye at johndeere.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

It appears that enabling C++ and shared libraries does not work for Microblaze
targets.  When a simple Hello World C++ application is executed, it results in
a Segmentation Fault.  This occurs before any code in the app is executed
(presumably the fault is occurring in the libstdc++ startup code.)

Host environment: Linux Mint 15, 32-bit x86 platform.  wbx has also replicated
it on an x86_64 system with similar results.

Steps to reproduce using buildroot git hash
ed5604ed9e378c3f8814d7f92ec66fd855b8245c:

1) make qemu_microblazeel_mmu_defconfig
2) make menuconfig
- Toolchain: enable C++ support
3) make
4) cat > hello.cpp
int main(void){}
5) output/host/usr/bin/microblazeel-linux-g++ hello.cpp -o
output/target/root/hello
6) make
7) Running qemu 2.5.1.1:
qemu-system-microblazeel -M petalogix-s3adsp1800 -serial stdio -kernel
output/images/linux.bin
8) Let the system boot.  Login w/password "root"
9) ./hello
-> Segmentation Fault.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-02-26 20:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-14 18:56 [Buildroot] [Bug 9251] New: Shared C++ libraries for Microblaze results in Segmentation Fault bugzilla at busybox.net
2016-09-14 19:07 ` [Buildroot] [Bug 9251] " bugzilla at busybox.net
2016-10-22 19:59 ` bugzilla at busybox.net
2016-10-23 13:39 ` bugzilla at busybox.net
2016-10-24 12:11 ` bugzilla at busybox.net
2017-02-26 20:15 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox