From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124023 invoked by alias); 30 May 2015 14:35:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 123974 invoked by uid 48); 30 May 2015 14:35:22 -0000 From: "bugdal at aerifal dot cx" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/54089] [SH] Refactor shift patterns Date: Sat, 30 May 2015 14:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: bugdal at aerifal dot cx X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: olegendo at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-05/txt/msg02458.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54089 --- Comment #35 from Rich Felker --- No, but the cause is simple -- the kernel doesn't use libgcc but defines its own versions of these functions, and has the old ones but not the new ones. I tried just removing the kernel's copies and using libgcc.a but it produced a non-bootable kernel and I didn't test further; my guess would be some relocations in the libgcc.a versions are incompatible with the way the kernel is built.