Bug 1288738 - glibc-2.22.90-23.fc24 : c++ fails to build anything
glibc-2.22.90-23.fc24 : c++ fails to build anything
Product: Fedora
Classification: Fedora
Component: glibc (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Florian Weimer
Fedora Extras Quality Assurance
: Patch
Depends On:
  Show dependency treegraph
Reported: 2015-12-05 13:36 EST by Rex Dieter
Modified: 2015-12-05 16:34 EST (History)
8 users (show)

See Also:
Fixed In Version: glibc-2.22.90-24.fc24
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-12-05 16:34:14 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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

  None (edit)
Description Rex Dieter 2015-12-05 13:36:23 EST
Seems with glibc-2.22.90-23.fc24 landing today, seeing lots of c++ related build failures.  Examples include 

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
  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
  gmake[1]: Entering directory
  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
  Linking CXX executable cmTC_c9c15
  /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c9c15.dir/link.txt
  /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 13:42:46 EST
Ah, I see
ended up in glibc-static
Comment 2 Florian Weimer 2015-12-05 13:50:58 EST
Sorry, will fix.
Comment 3 Rex Dieter 2015-12-05 13:52 EST
Created attachment 1102592 [details]
put libmvec_nonshared.a in glibc-devel
Comment 4 Rex Dieter 2015-12-05 13:52:52 EST
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 13:58:30 EST
Mind if I untag the bad glibc-2.22.90-23.fc24 ?
Comment 6 Florian Weimer 2015-12-05 14:00:35 EST
(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 16:34:14 EST
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.