Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1863987

Summary: libcxxabi: FTBFS in Fedora rawhide/f33
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: libcxxabiAssignee: Tom "spot" Callaway <spotrh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: law, sguelton, siddharth.kde, spotrh, tstellar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-06 22:31:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1803234    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2020-08-03 17:46:37 UTC
libcxxabi failed to build from source in Fedora rawhide/f33

https://koji.fedoraproject.org/koji/taskinfo?taskID=47992683


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Please fix libcxxabi at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
libcxxabi will be orphaned. Before branching of Fedora 34,
libcxxabi will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://fedoraproject.org/wiki/Fails_to_build_from_source

Comment 1 Fedora Release Engineering 2020-08-03 17:46:39 UTC
Created attachment 1705429 [details]
build.log

Comment 2 Fedora Release Engineering 2020-08-03 17:46:40 UTC
Created attachment 1705430 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2020-08-03 17:46:42 UTC
Created attachment 1705431 [details]
state.log

Comment 4 Jeff Law 2020-08-06 22:31:46 UTC
Set the toolchain to clang which helps considerably.  But there's still an armv7hl failure:

CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:66 (message):
  The C compiler
    "/usr/bin/clang"
  is not able to compile a simple test program.
  It fails with the following output:
    Change Dir: /builddir/build/BUILD/libcxxabi-10.0.0.src/armv7hl-redhat-linux-gnueabi/CMakeFiles/CMakeTmp
    
    Run Build Command(s):/usr/bin/ninja-build cmTC_886b1 && [1/2] Building C object CMakeFiles/cmTC_886b1.dir/testCCompiler.c.o
    [2/2] Linking C executable cmTC_886b1
    FAILED: cmTC_886b1 
    : && /usr/bin/clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now CMakeFiles/cmTC_886b1.dir/testCCompiler.c.o -o cmTC_886b1   && :
    clang-10: error: unable to execute command: Segmentation fault (core dumped)
    clang-10: error: linker command failed due to signal (use -v to see invocation)
    ninja: build stopped: subcommand failed.
    
    
  
  CMake will not be able to correctly generate this project.