Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] C++ compile probblem



Nguyen Vu Hung writes:

 > FYI, Turbull asked you to run

Actually, I didn't.

 > uname -a
 > cat /etc/rel*
 > g++ -v
 > 
 > and post the output.

Well, if Brett considers it worth solving the problem, that's halfway
there.  We also need to see the same info for the system where it's
known to work, for the toolchain configuration used to build the
working executable.  I'm willing to trust Brett to know whether he
needs this badly enough to go through that pain.

Why do I think it's likely to be painful?  Because C++ is famous for
(1) changing ABIs across micro releases (2) tightly binding the
stdlibc++ to the version of the compiler (3) changing APIs, too.
Of course this wouldn't matter if the code Brett is trying to compile
was accessing only published stdlibc++ interfaces, but unfortunately
we know that's not the case.  The code is reaching inside the
structures and passing the content to system calls.  *shiver*



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links