krfkeith / sx-gcc

Automatically exported from code.google.com/p/sx-gcc
0 stars 0 forks source link

the "g++.dg/special/conpr-*.C" test cases fail if compiled with sx-g++ #133

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
All of the "g++.dg/special/conpr-*.C" test cases crash on SX with the
"Killed" message, if they are compiled with sx-gcc.

The reason for this is the disability of SX linker to handle the ".ctors.*"
sections (e.g. ".ctors.60535"). These kind of sections are used for sorting
the execution of static constructors, for example, when the
"__attribute__((init_priority(SOME_NUMBER)))" attribute is used with static
object.

Original issue reported on code.google.com by nou...@gmail.com on 2 Jun 2009 at 4:49

GoogleCodeExporter commented 9 years ago
This issue is fixed in sx-gcc r287 and sx-binutils r213.

Original comment by nou...@gmail.com on 5 Jun 2009 at 11:40