Debian Bug report logs - #808205
libc6: Unrecognized relocation when compiling

version graph

Package: libc6-dev; Maintainer for libc6-dev is GNU Libc Maintainers <debian-glibc@lists.debian.org>; Source for libc6-dev is src:glibc (PTS, buildd, popcon).

Reported by: John Aston <johnastonsr@gmail.com>

Date: Thu, 17 Dec 2015 09:33:05 UTC

Severity: serious

Tags: stretch

Merged with 808181, 808206

Found in version glibc/2.21-4

Done: Aurelien Jarno <aurelien@aurel32.net>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.debian.org
Subject: Bug#808205: libc6: Unrecognized relocation when compiling
Reply-To: Aurelien Jarno <aurelien@aurel32.net>, 808205@bugs.debian.org
Resent-From: Aurelien Jarno <aurelien@aurel32.net>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: GNU Libc Maintainers <debian-glibc@lists.debian.org>
X-Loop: owner@bugs.debian.org
Resent-Date: Mon, 04 Jan 2016 17:42:01 +0000
Resent-Message-ID: <handler.808205.B808205.14519292095197@bugs.debian.org>
Resent-Sender: owner@bugs.debian.org
X-Debian-PR-Message: followup 808205
X-Debian-PR-Package: libc6-dev
X-Debian-PR-Keywords: stretch
X-Debian-PR-Source: eglibc, glibc
Received: via spool by 808205-submit@bugs.debian.org id=B808205.14519292095197
          (code B ref 808205); Mon, 04 Jan 2016 17:42:01 +0000
Received: (at 808205) by bugs.debian.org; 4 Jan 2016 17:40:09 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
	(2014-02-07) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-7.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	RP_MATCHES_RCVD autolearn=ham autolearn_force=no
	version=3.4.0-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 12; hammy, 150; neutral, 86; spammy,
	0. spammytokens: hammytokens:0.000-+--H*u:2014-03-12,
	0.000-+--H*UA:2014-03-12, 0.000-+--H*UA:1.5.23, 0.000-+--H*u:1.5.23,
	0.000-+--aurelien
Received: from hall.aurel32.net ([2001:bc8:30d7:100::1])
	by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84)
	(envelope-from <aurelien@aurel32.net>)
	id 1aG96y-0001GQ-DK
	for 808205@bugs.debian.org; Mon, 04 Jan 2016 17:40:09 +0000
Received: from 191.red-80-33-14.staticip.rima-tde.net ([80.33.14.191] helo=ohm.rr44.fr)
	by hall.aurel32.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84)
	(envelope-from <aurelien@aurel32.net>)
	id 1aG96u-0005Q2-KU; Mon, 04 Jan 2016 18:40:00 +0100
Received: from aurel32 by ohm.rr44.fr with local (Exim 4.84)
	(envelope-from <aurelien@aurel32.net>)
	id 1aG96n-00036P-MU; Mon, 04 Jan 2016 18:39:53 +0100
Date: Mon, 4 Jan 2016 18:39:53 +0100
From: Aurelien Jarno <aurelien@aurel32.net>
To: Mahesh Kronecker <mahesh.kronecker@gmail.com>, 808205@bugs.debian.org
Message-ID: <20160104173953.GA11094@aurel32.net>
References: <145034470022.9462.3608507156985456523.reportbug@electricshadow>
 <8EFB26D5-156C-432E-8E51-C5FDC3F36AB2@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
In-Reply-To: <8EFB26D5-156C-432E-8E51-C5FDC3F36AB2@gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
On 2016-01-05 00:55, Mahesh Kronecker wrote:
> Dear all,
> I am on Debian/Jessie, not sid nor Stretch, but I can reproduce the hello.c bug as done by John Aston:
> 
> $ gcc hello.c -o hello
> /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crti.o: réadressage inconnu (0x2a) dans la section « .init »
> /usr/bin/ld: édition de lien finale en échec: Mauvaise valeur
> collect2: error: ld returned 1 exit status
> 
> Packages:
> --------------------------------------
> sudo apt-cache show binutils
> Package: binutils
> Version: 2.25-5
> 
> Package: libc6-dev
> Source: glibc
> Version: 2.19-18+deb8u1
> 
> sudo apt-cache show libgcc1
> Package: libgcc1
> Source: gcc-4.9 (4.9.2-10)
> Version: 1:4.9.2-10
> 
> sudo apt-cache show libc6
> Package: libc6
> Status: install ok installed
> […]
> Source: glibc
> Version: 2.21-1

glibc version 2.21-1 has never been available in jessie...

> […]
> -------------------------------------
> 
> Is there something wrong in my settings or is this related to the bug you are describing in the testing versions of Debian?
> I do not know what to do to fix the issue on my system.

It really looks like your system have a mix of jessie and stretch or
sid. Can you please try to run the following commands and send me the
output:

  dpkg -l libc6:amd64

  md5sum /usr/lib/x86_64-linux-gnu/crti.o

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jul 26 08:46:02 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.