On Tue, Feb 16, 2016 at 08:08:13PM +, Miod Vallat wrote:
> Actually, I had forgotten to disable the stack protector, and guess
> what? Disabling it produces a working libstdc++, at least for that
> simple use case; I have not tried to build cmake.
>
> Therefore I suggest the following diff
Actually, I had forgotten to disable the stack protector, and guess
what? Disabling it produces a working libstdc++, at least for that
simple use case; I have not tried to build cmake.
Therefore I suggest the following diff until someone with enough love
for the utter crap known as `arm' comes
>
> The first bug was already reported three years ago:
>
> http://marc.info/?l=openbsd-bugs=135732012310459
>
> std::ifstream has a bug when linked with libpthread:
This is a compiler bug. Compiling libstdc++ with -O0 yields a working
binary.
And of course, compiling libstdc++ with as few
The first bug was already reported three years ago:
http://marc.info/?l=openbsd-bugs=135732012310459
std::ifstream has a bug when linked with libpthread:
$ cat t1.cpp
#include
#include
int
main(void)
{
std::ifstream fin("/");
std::cout << (!fin ? "BUG" : "OK") << std::endl;