Bug 1288738

Summary: glibc-2.22.90-23.fc24 : c++ fails to build anything
Product: [Fedora] Fedora Reporter: Rex Dieter <rdieter>
Component: glibcAssignee: Florian Weimer <fweimer>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: arjun.is, codonell, fweimer, jakub, law, mfabian, pfrankli, siddhesh
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glibc-2.22.90-24.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-05 21:34:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
put libmvec_nonshared.a in glibc-devel none

Description Rex Dieter 2015-12-05 18:36:23 UTC
Seems with glibc-2.22.90-23.fc24 landing today, seeing lots of c++ related build failures.  Examples include 
https://koji.fedoraproject.org/koji/taskinfo?taskID=12071892

from logs, a simple c++ test fails:

-- Check for working CXX compiler: /usr/bin/c++ -- broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:54 (message):
  The C++ compiler "/usr/bin/c++" is not able to compile a simple test
  program.
  It fails with the following output:
   Change Dir: /builddir/build/BUILD/kaccounts-integration-15.08.3/x86_64-redhat-linux-gnu/CMakeFiles/CMakeTmp
  
  Run Build Command:"/usr/bin/gmake" "cmTC_c9c15/fast"
  /usr/bin/gmake -f CMakeFiles/cmTC_c9c15.dir/build.make
  CMakeFiles/cmTC_c9c15.dir/build
  gmake[1]: Entering directory
  '/builddir/build/BUILD/kaccounts-integration-15.08.3/x86_64-redhat-linux-gnu/CMakeFiles/CMakeTmp'
  Building CXX object CMakeFiles/cmTC_c9c15.dir/testCXXCompiler.cxx.o
  /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security
  -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
  --param=ssp-buffer-size=4 -grecord-gcc-switches
  -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -o
  CMakeFiles/cmTC_c9c15.dir/testCXXCompiler.cxx.o -c
  /builddir/build/BUILD/kaccounts-integration-15.08.3/x86_64-redhat-linux-gnu/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
  Linking CXX executable cmTC_c9c15
  /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c9c15.dir/link.txt
  --verbose=1
  /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security
  -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
  --param=ssp-buffer-size=4 -grecord-gcc-switches
  -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic
  -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
  CMakeFiles/cmTC_c9c15.dir/testCXXCompiler.cxx.o -o cmTC_c9c15 -rdynamic
  /usr/bin/ld: cannot find /usr/lib64/libmvec_nonshared.a
  collect2: error: ld returned 1 exit status

Comment 1 Rex Dieter 2015-12-05 18:42:46 UTC
Ah, I see
/usr/lib64/libmvec_nonshared.a
ended up in glibc-static

Comment 2 Florian Weimer 2015-12-05 18:50:58 UTC
Sorry, will fix.

Comment 3 Rex Dieter 2015-12-05 18:52:02 UTC
Created attachment 1102592 [details]
put libmvec_nonshared.a in glibc-devel

Comment 4 Rex Dieter 2015-12-05 18:52:52 UTC
Thanks, here's a patch assuming you want this in -devel along with some of the other lib*nonshared.a bits too :)

Comment 5 Rex Dieter 2015-12-05 18:58:30 UTC
Mind if I untag the bad glibc-2.22.90-23.fc24 ?

Comment 6 Florian Weimer 2015-12-05 19:00:35 UTC
(In reply to Rex Dieter from comment #5)
> Mind if I untag the bad glibc-2.22.90-23.fc24 ?

Sure, go ahead, it will take a few hours until new builds are in place.

Comment 7 Florian Weimer 2015-12-05 21:34:14 UTC
With glibc-2.22.90-24.fc24, -lm works again if glibc-devel is installed, but not glibc-static.