Bug 1288738 - glibc-2.22.90-23.fc24 : c++ fails to build anything
Summary: glibc-2.22.90-23.fc24 : c++ fails to build anything
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Florian Weimer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-05 18:36 UTC by Rex Dieter
Modified: 2015-12-05 21:34 UTC (History)
8 users (show)

Fixed In Version: glibc-2.22.90-24.fc24
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-05 21:34:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
put libmvec_nonshared.a in glibc-devel (1.64 KB, patch)
2015-12-05 18:52 UTC, Rex Dieter
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.