<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>32791</bug_id>
          
          <creation_ts>2016-11-23 16:41:37 +0300</creation_ts>
          <short_desc>new glibc-devel is incompatible with old binutils</short_desc>
          <delta_ts>2018-03-13 15:13:54 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>glibc-devel</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Gleb F-Malinovskiy">glebfm</assigned_to>
          <cc>glebfm</cc>
    
    <cc>lav</cc>
    
    <cc>ldv</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>160133</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2016-11-23 16:41:37 +0300</bug_when>
    <thetext>$ readlink -f /usr/lib64/gcc/x86_64-alt-linux/4.9/../../../../lib64/crti.o
/usr/lib64/crti.o
$ readlink -f /usr/lib64/gcc/x86_64-alt-linux/4.9/../../../../lib64/crti.o | xargs rpm -qf
glibc-devel-2.23-alt3
$ rpm -q binutils gcc5 gcc4.9
binutils-2.24.0-alt3
gcc5-5.2.1-alt1
gcc4.9-4.9.2-alt4
$ 

For example, when running make in guile-evms sources, the following error occurs because of old binutils:


gcc -g -pipe -O2 -Werror -Wall -Wno-unused -Wno-switch -fPIC -I/usr/include/guile -I/usr/include/evms   -c -o evms.o evms.c
gcc -shared -Wl,-soname=libguile-evms.so.0 evms.o -lguile -levms -lblkid -o libguile-evms.so
/usr/bin/ld: /usr/lib64/gcc/x86_64-alt-linux/4.9/../../../../lib64/crti.o: unrecognized relocation (0x2a) in section `.init&apos;
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make: *** [libguile-evms.so] Error 1

New glibc-devel should conflict with old binutils to avoid such situations.

Similar errors happen also when I try to use older gcc, say, gcc4.6.

This is a problem for someone who has upgraded glibc and wants to program and compile his programs. He must know that he should have ugraded binutils, too. This hint can be expressed by a Conflicts fields in glibc-devel. (This is not a problem for building packages, because then hasher is used.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>169571</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2018-03-13 15:13:54 +0300</bug_when>
    <thetext>What&apos;s the first acceptable version of binutils then?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>