Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262595AbVCPOaz (ORCPT ); Wed, 16 Mar 2005 09:30:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262599AbVCPOaz (ORCPT ); Wed, 16 Mar 2005 09:30:55 -0500 Received: from aun.it.uu.se ([130.238.12.36]:53438 "EHLO aun.it.uu.se") by vger.kernel.org with ESMTP id S262595AbVCPOaw (ORCPT ); Wed, 16 Mar 2005 09:30:52 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16952.17154.477852.299855@alkaid.it.uu.se> Date: Wed, 16 Mar 2005 15:30:26 +0100 From: Mikael Pettersson To: "Mikael Starvik" Cc: Subject: RE: [PATCH][2.4.30-pre1] preliminary fixes for gcc-4.0 In-Reply-To: References: X-Mailer: VM 7.17 under Emacs 20.7.1 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 631 Lines: 20 Mikael Starvik writes: > Another comment: > > >CFLAGS += -ffreestanding to avoid gcc magically turning sprintf() > > into calls to non-existent strcpy(). > > You could use -fno-builtin-sprintf instead and thus also avoid the abs > change. Cool. I'll test that and if it works w/o exposing other breakage hidden by -ffreestanding I'll drop the abs() changes. Thanks. /Mikael - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/