Bug in shared library version of newlib's libstdc++.so?

Have a question about our Software Developer Kit? Ask them here.
Post Reply
User avatar
Hans-Joerg Frieden
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 223
Joined: Wed Dec 08, 2010 3:52 pm

Re: Bug in shared library version of newlib's libstdc++.so?

Post by Hans-Joerg Frieden »

I'll have a look at this ASAP. It could be an issue with an unsupported reloc.
NOTICE: If you want to contact me, use E-Mail. I cannot be contacted via the forum/private messages anymore
User avatar
ssolie
Beta Tester
Beta Tester
Posts: 1010
Joined: Mon Dec 20, 2010 8:51 pm
Location: Canada
Contact:

Re: Bug in shared library version of newlib's libstdc++.so?

Post by ssolie »

Hans-Joerg Frieden wrote:I'll have a look at this ASAP. It could be an issue with an unsupported reloc.
I hit this problem way back when I was trying to port C++ Boost using newlib and shared objects.

I think I still have a very simple test case around here someplace in case you need it.

It had to do with throwing exceptions if I recall correctly. It has been a while since I worked on it.
ExecSG Team Lead
Trev
Posts: 5
Joined: Sat Jun 18, 2011 6:48 pm

Re: Bug in shared library version of newlib's libstdc++.so?

Post by Trev »

Any word on whether this will be resolved in the next OS update?
Trev
Posts: 5
Joined: Sat Jun 18, 2011 6:48 pm

Re: Bug in shared library version of newlib's libstdc++.so?

Post by Trev »

Fixed in Update 4?
alekc
Posts: 50
Joined: Sat Jun 18, 2011 4:06 pm

Re: Bug in shared library version of newlib's libstdc++.so?

Post by alekc »

Trev wrote:Fixed in Update 4?
Looking at my test results I can confirm that it is fixed in U4 :D . If anyone wants I can post my sample code based on original example from problem report post.
kas1e
Beta Tester
Beta Tester
Posts: 543
Joined: Sat Jun 18, 2011 8:56 am
Contact:

Re: Bug in shared library version of newlib's libstdc++.so?

Post by kas1e »

@Trev
Dunno if i do something wrong , but i just trying to use example above, and with / without -use-dynld , on update3 and on update4, i have in shell output:

throw error
Dummy error!

And no crashes.

Trying that on my peg2.
Post Reply