libc++ 3.9.0 packaging improvements

Sylvestre Ledru sylvestre at mozilla.com
Tue Nov 1 16:05:18 UTC 2016


In a chroot, tests are failing with:
/usr/bin/ld: cannot find -lc++


     libc++abi :: backtrace_test.pass.cpp
     libc++abi :: catch_array_01.pass.cpp
     libc++abi :: catch_array_02.pass.cpp
     libc++abi :: catch_class_01.pass.cpp
     libc++abi :: catch_class_02.pass.cpp
     libc++abi :: catch_class_03.pass.cpp
     libc++abi :: catch_class_04.pass.cpp
     libc++abi :: catch_const_pointer_nullptr.pass.cpp
     libc++abi :: catch_function_01.pass.cpp
     libc++abi :: catch_function_02.pass.cpp
     libc++abi :: catch_in_noexcept.pass.cpp
     libc++abi :: catch_member_data_pointer_01.pass.cpp
     libc++abi :: catch_member_function_pointer_01.pass.cpp
     libc++abi :: catch_member_pointer_nullptr.pass.cpp
     libc++abi :: catch_multi_level_pointer.pass.cpp
     libc++abi :: catch_pointer_nullptr.pass.cpp
     libc++abi :: catch_pointer_reference.pass.cpp
     libc++abi :: catch_ptr.pass.cpp
     libc++abi :: catch_ptr_02.pass.cpp
     libc++abi :: cxa_bad_cast.pass.cpp
     libc++abi :: cxa_bad_typeid.pass.cpp
     libc++abi :: cxa_thread_atexit_test.pass.cpp
     libc++abi :: dynamic_cast14.pass.cpp
     libc++abi :: dynamic_cast3.pass.cpp
     libc++abi :: dynamic_cast5.pass.cpp
     libc++abi :: dynamic_cast_stress.pass.cpp
     libc++abi :: incomplete_type.sh.cpp
     libc++abi :: inherited_exception.pass.cpp
     libc++abi :: test_aux_runtime.pass.cpp
     libc++abi :: test_aux_runtime_op_array_new.pass.cpp
     libc++abi :: test_demangle.pass.cpp
     libc++abi :: test_exception_storage.pass.cpp
     libc++abi :: test_fallback_malloc.pass.cpp
     libc++abi :: test_guard.pass.cpp
     libc++abi :: test_vector1.pass.cpp
     libc++abi :: test_vector2.pass.cpp
     libc++abi :: test_vector3.pass.cpp
     libc++abi :: uncaught_exceptions.pass.cpp
     libc++abi :: unwind_01.pass.cpp
     libc++abi :: unwind_02.pass.cpp
     libc++abi :: unwind_03.pass.cpp
     libc++abi :: unwind_04.pass.cpp
     libc++abi :: unwind_05.pass.cpp
     libc++abi :: unwind_06.pass.cpp

does it ring a bell?
S


Le 01/11/2016 à 16:59, Sylvestre Ledru a écrit :
> Hello
>
> this is impressive work. Do you want me to credit you with your full 
> name?
> Do you want to commit that yourself in the pkg-llvm repository?
>
> I guess you tried to compile a C++ binaries and link against libc++ 
> with clang?
>
> Merci beaucoup,
> Sylvestre
>
> Le 01/11/2016 à 16:51, Pauli . a écrit :
>> Thanks for quick upload,
>>
>> I didn't have enough time to test packages well yesterday. But today I
>> tried to run test suit. Too bad it found a few packaging issues. It
>> seems like buildit and testit scripts don't really work anymore. To
>> fix issues caused by outdated build system I decided to change build
>> use cmake.
>>
>> After changing to cmake it was easy to add auto test target that can
>> be used to verify if compiled libraries actually work. Test suit takes
>> about 30 seconds for libc++abi and about 20 minutes for libc++ (fairly
>> fast laptop).  Tests can skipped with nocheck build option. There was
>> two locale test that didn't have excepted results in my system. I
>> added a patch to fix the expected test results to match what locales
>> produced in my system.
>>
>> There is also fix for libc++abi-dev includes that breaks older
>> libc++-dev packages. I hope that I set Breaks correctly but I don't
>> know how to test it. The Breaks dependency would need verification
>> from someone with more experience.
>>
>> Pauli
>
>
>
>
> _______________________________________________
> Pkg-llvm-team mailing list
> Pkg-llvm-team at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-llvm-team





More information about the Pkg-llvm-team mailing list