Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] bug report: c++ programs built by toolchain crash by seg fault
@ 2013-02-05  6:24 hayate
  2013-02-05  7:45 ` Thomas Petazzoni
  0 siblings, 1 reply; 8+ messages in thread
From: hayate @ 2013-02-05  6:24 UTC (permalink / raw)
  To: buildroot

menuconfig:

arm little endian; generic arm; OABI; gcc 4.6.3 with c++ support;
uclibc 0.9.31.1
others are unchanged

building is successful

test c++ program

int main()
{
    delete new int(2);
}

# arm-buildroot-linux-uclibc-g++ -static test.cpp
# qemu-arm ./a.out
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault (core dumped)

noted that some other programs not involved new and delete run correctly

I'm not sure if this is gcc upstream problem, but post it here for
confirmation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130205/6ce89536/attachment.html>

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

end of thread, other threads:[~2013-02-08  5:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-05  6:24 [Buildroot] bug report: c++ programs built by toolchain crash by seg fault hayate
2013-02-05  7:45 ` Thomas Petazzoni
     [not found]   ` <CAJXWAwzg3iPu6qW+E560nw=fQZ6=UMhNAkTGhbaoCnFbcfQdzQ@mail.gmail.com>
2013-02-05 10:15     ` [Buildroot] Fwd: " hayate
2013-02-06 23:48       ` Arnout Vandecappelle
2013-02-08  4:57         ` hayate
2013-02-05 13:39   ` [Buildroot] " hayate
2013-02-06 22:15   ` Yann E. MORIN
2013-02-08  5:04     ` hayate

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