← Back to team overview

leaningtech-dev team mailing list archive

[Bug 1249285] Re: Unable to build libcxxabi

 

The readelf error should not be an issue. By configuring a clean tree
with --with-cxx-headers= pointing to the absolute path of duetto-libcxx
headers you should be able to build newlib. I'm also renaming the bug to
reflect the actual issue. If you are still having problems, please post
the full configure command you are using, remember that it should be run
from the newlib subdirectory of the duetto-newlib repository.

** Summary changed:

- Unable to build libcxxabi
+ Unable to build newbli

** Summary changed:

- Unable to build newbli
+ Unable to build newbib

** Summary changed:

- Unable to build newbib
+ Unable to build newlib

-- 
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 newlib

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