From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7678 invoked by alias); 13 Sep 2012 18:13:47 -0000 Received: (qmail 7664 invoked by uid 22791); 13 Sep 2012 18:13:45 -0000 X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 13 Sep 2012 18:13:31 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1TCDur-0006aB-KA from Maciej_Rozycki@mentor.com ; Thu, 13 Sep 2012 11:13:29 -0700 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 13 Sep 2012 11:13:29 -0700 Received: from [172.30.7.121] (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.1.289.1; Thu, 13 Sep 2012 19:13:27 +0100 Date: Thu, 13 Sep 2012 18:13:00 -0000 From: "Maciej W. Rozycki" To: Matthias Klose CC: Tristan Gingold , binutils Development Subject: Re: Release 2.23: Ping In-Reply-To: <505218A4.2070207@ubuntu.com> Message-ID: References: <2E74490B-BCE6-4D8E-A6F1-737A1625DAA4@adacore.com> <9596AE4D-C319-48C5-89E4-CB5201D9A4DA@adacore.com> <505218A4.2070207@ubuntu.com> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2012-09/txt/msg00159.txt.bz2 On Thu, 13 Sep 2012, Matthias Klose wrote: > > Thanks a lot indeed! I'll just regression-test it against my latest > > trunk results and see if anything pops up. I'll let you know the outcome > > by tomorrow. > > this did break linux kernel builds (at least in 3.5.0), on x86_64-linux-gnu. > Reverting Tristan's checkin (git 754bb8efffca0d3006e417ba56b92bec9990753d) of > the mips backports to the 2.23 branch solves the issue. The patch touches > generic files in bfd and ld. I didn't check, if it's a binutils issue or a > kernel issue exposed by this change. Some changes were indeed generic, specifically the symbol export class BFD bug fix. The bug affected all targets, however Linux shouldn't care as export classes are used in dynamic linking only. There were also non-MIPS changes to ld that were supposed to be transparent; they mainly affected symbols defined by linker scripts and caused no test suite regressions -- but then that's a feature used quite heavily by Linux. If anything was indeed missed, then it would be a worthwhile addition to the test suite alongside the fix. > From https://launchpad.net/bugs/1049650 > > """ > $ readelf -s setup.elf | grep video_card > 138: 00003660 0 NOTYPE GLOBAL DEFAULT 12 video_cards > 151: 00003660 0 NOTYPE GLOBAL DEFAULT 12 video_cards_end > > We should see some space between video_cards and video_cards_end, and the fact > that we don't means the kernel isn't going to find any options for video. > """ Thanks for the reference. Can you please give me some instructions as to how to build a kernel that has this problem, e.g. will some defconfig and a kernel.org tree be enough to reproduce that? I'll have a look into it, but please forgive my lack of knowledge on the recipes Ubuntu developers use. Thanks. Also would you per any chance be willing to help and try binutils trunk to track down the specific change that caused this problem? The backport was made in bulk while on trunk self-contained changes were applied individually. That would make tracking down the culprit much much easier. Maciej