leaningtech-dev team mailing list archive
-
leaningtech-dev team
-
Mailing list archive
-
Message #00024
[Bug 1249285] Re: Unable to build libcxxabi
Thank you Alessandro.
Could you elaborate what do you mean about having a checkout of duetto-
libcxx for building newlib. Do you mean that I should copy it to some
place before trying to build newlib, although I will not build duetto-
libcxx until I have newlib built?
Cheers.
--
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