Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't build HCC clang_tot_upgrade branch on Ubuntu 16.04.1 #180

Closed
aditya4d1 opened this issue Dec 2, 2016 · 1 comment
Closed

Couldn't build HCC clang_tot_upgrade branch on Ubuntu 16.04.1 #180

aditya4d1 opened this issue Dec 2, 2016 · 1 comment

Comments

@aditya4d1
Copy link
Contributor

Hi,
I am trying to build hcc on clang_tot_upgrade branch on Ubuntu 16.04.1 system. make world works fine but doing make produces this error.

In file included from /home/aditya/rocm/hcc.lc.tot/lib/mcwamp.cpp:8:
In file included from /usr/include/c++/v1/iostream:38:
In file included from /usr/include/c++/v1/ios:216:
In file included from /usr/include/c++/v1/__locale:15:
/usr/include/c++/v1/string:1938:44: error: 'basic_string<_CharT, _Traits, _Allocator>' is
      missing exception specification
      'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
basic_string<_CharT, _Traits, _Allocator>::basic_string(const allocator_type& __a)
                                           ^
/usr/include/c++/v1/string:1326:40: note: previous declaration is here
    _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& __a)
                                       ^
1 error generated.
lib/CMakeFiles/mcwamp.dir/build.make:62: recipe for target 'lib/CMakeFiles/mcwamp.dir/mcwamp.cpp.o' failed
make[2]: *** [lib/CMakeFiles/mcwamp.dir/mcwamp.cpp.o] Error 1
CMakeFiles/Makefile2:229: recipe for target 'lib/CMakeFiles/mcwamp.dir/all' failed
make[1]: *** [lib/CMakeFiles/mcwamp.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
@aditya4d1
Copy link
Contributor Author

This is a issue with libc++ debian package (not ROCm). After following the issue here, getting new libc++1 and libc++-dev, solved this. Make sure to install libc++1 first. I am using 3.9.0-3 version. (The old one is 3.7.x).
@jedwards-AMD , we may have to ship this package

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant