leaningtech-dev team mailing list archive
-
leaningtech-dev team
-
Mailing list archive
-
Message #00035
[Bug 1249285] Re: Unable to build libcxxabi
Actually Alessandro, I have taken a look on the messages generated when
I call ./confugure and I have noticed the following message.
checking for .preinit_array/.init_array/.fini_array support... readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
readelf: Error: conftest: Failed to read file header
This message is very similar with another bug I have seen reported here,
but in this other thread about this issue, you said it was solved on
this latest version.
Do you think it is the same problem?
--
You received this bug notification because you are a member of
Leaningtech Team, which is subscribed to Duetto.
https://bugs.launchpad.net/bugs/1249285
Title:
Unable to build libcxxabi
Status in Duetto: C++ for the Web:
New
Bug description:
I am not being able to build libcxxabi. When I follow the instuctions
given, I get the following:
./buildit
+ for FILE in '../src/*.cpp'
+ '[' ../src/abort_message.cpp == ../src/cxa_default_handlers.cpp -o ../src/abort_message.cpp == ../src/cxa_exception.cpp -o ../src/abort_message.cpp == ../src/cxa_handlers.cpp -o ../src/abort_message.cpp == ../src/cxa_exception_storage.cpp -o ../src/abort_message.cpp == ../src/cxa_unexpected.cpp -o ../src/abort_message.cpp == ../src/private_typeinfo.cpp -o ../src/abort_message.cpp == ../src/cxa_personality.cpp ']'
+ /opt/duetto/bin/clang -target duetto -emit-llvm -c -O3 -fPIC -std=c++11 -stdlib=libc++ -fstrict-aliasing -Wstrict-aliasing=2 -Wsign-conversion -Wshadow -Wconversion -Wunused-variable -Wmissing-field-initializers -Wchar-subscripts -Wmismatched-tags -Wmissing-braces -Wshorten-64-to-32 -Wsign-compare -Wstrict-aliasing=2 -Wstrict-overflow=4 -Wunused-parameter -Wnewline-eof -I../include ../src/abort_message.cpp
clang-3.4: warning: argument unused during compilation: '-stdlib=libc++'
../src/abort_message.cpp:10:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
As can be seen, it says: clang-3.4: warning: argument unused during compilation: '-stdlib=libc++'.
I am not sure what is causing it. I have not be. I have seen that it
is necessary for installing duetto-newlib. But I cannot proceed.
Cheers.
To manage notifications about this bug go to:
https://bugs.launchpad.net/duetto/+bug/1249285/+subscriptions
References