From owner-svn-src-all@FreeBSD.ORG Mon Dec 7 12:19:33 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EC391065672; Mon, 7 Dec 2009 12:19:33 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id 64B4D8FC12; Mon, 7 Dec 2009 12:19:32 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 22so1119856eye.9 for ; Mon, 07 Dec 2009 04:19:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=IVpX2tSoHJNksbSzfjyxEwQiTY06vpWL84fKOjKGxWM=; b=M7GrzmrL6XeDppJR1msTI8T7A7n4hq8zv88FwlwcjqxZePsBVBW4sQFjqC5nJfSB67 sUlpXGxlEVg6exaSVSsKaKr4MShLz97Si7vsjRs9AyxDLbzfuSNRKNLQxsnPn/ZghRuC QZ9ygBQSOWZNQv82pRmywnFE6qooESMN0hojs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=pAL4ASJNQstPrjJ99YBHVxUhn2S5qhYYBznnQ8HLEUE4oQShROIDFFYM7UvmTJtx7i MaedCIseZyClL2eE5jAP2QR3oMlwhib/zUDmKisjQUe2zVPPHfjFpCdw7PVlBKZLOcAK 5rNxa1Yl+8ViE19YYhmZ071Ssgtf6Jfon1Jsk= MIME-Version: 1.0 Received: by 10.216.87.5 with SMTP id x5mr2338947wee.75.1260188371096; Mon, 07 Dec 2009 04:19:31 -0800 (PST) In-Reply-To: <747dc8f30912070409u2c870e06p7c546c878311ed75@mail.gmail.com> References: <200912021634.nB2GYLSq031398@svn.freebsd.org> <747dc8f30912070409u2c870e06p7c546c878311ed75@mail.gmail.com> From: Renato Botelho Date: Mon, 7 Dec 2009 10:19:11 -0200 Message-ID: <747dc8f30912070419g51db0a7i6cf1990b501985dc@mail.gmail.com> To: Konstantin Belousov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r200038 - in head: contrib/gcc/config lib/csu/amd64 lib/csu/arm lib/csu/i386-elf lib/csu/ia64 lib/csu/mips lib/csu/powerpc lib/csu/sparc64 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2009 12:19:33 -0000 On Mon, Dec 7, 2009 at 10:09 AM, Renato Botelho wrote: > On Wed, Dec 2, 2009 at 2:34 PM, Konstantin Belousov wro= te: >> Author: kib >> Date: Wed Dec =A02 16:34:20 2009 >> New Revision: 200038 >> URL: http://svn.freebsd.org/changeset/base/200038 >> >> Log: >> =A0Properly support -fPIE by linking PIE binaries with specially-built >> =A0Scrt1.o instead of crt1.o, since the later is built as non-PIC. >> >> =A0Separate i386-elf crt1.c into the pure assembler part and C code, >> =A0supplying all data extracted by assembler stub as explicit parameters= [1]. >> =A0Hide and localize _start1 symbol used as an interface between asm and >> =A0C code. > > I've got this: > > root@botelhor:/usr/src/lib/csu/i386-elf# make > cc -O2 -pipe =A0-I/usr/src/lib/csu/i386-elf/../common > -I/usr/src/lib/csu/i386-elf/../../libc/include -std=3Dgnu99 > -Wsystem-headers -Werror -Wall -Wno-format-y2k -W > -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch > -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline > -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c > /usr/src/lib/csu/i386-elf/crti.S > cc -O2 -pipe =A0-I/usr/src/lib/csu/i386-elf/../common > -I/usr/src/lib/csu/i386-elf/../../libc/include -std=3Dgnu99 > -Wsystem-headers -Werror -Wall -Wno-format-y2k -W > -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch > -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline > -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c > /usr/src/lib/csu/i386-elf/crtn.S > cc -O2 -pipe =A0-I/usr/src/lib/csu/i386-elf/../common > -I/usr/src/lib/csu/i386-elf/../../libc/include -std=3Dgnu99 > -Wsystem-headers -Werror -Wall -Wno-format-y2k -W > -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch > -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline > -Wnested-externs -Wredundant-decls -Wno-pointer-sign -DGCRT -c -o > gcrt1_c.o /usr/src/lib/csu/i386-elf/crt1_c.c > cc -O2 -pipe =A0-I/usr/src/lib/csu/i386-elf/../common > -I/usr/src/lib/csu/i386-elf/../../libc/include -std=3Dgnu99 > -Wsystem-headers -Werror -Wall -Wno-format-y2k -W > -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch > -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline > -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c > /usr/src/lib/csu/i386-elf/crt1_s.S > ld =A0-o gcrt1.o -r crt1_s.o gcrt1_c.o > cc -O2 -pipe =A0-I/usr/src/lib/csu/i386-elf/../common > -I/usr/src/lib/csu/i386-elf/../../libc/include -std=3Dgnu99 > -Wsystem-headers -Werror -Wall -Wno-format-y2k -W > -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch > -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline > -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c > /usr/src/lib/csu/i386-elf/crt1_c.c > make: don't know how to make /usr/src/lib/csu/i386-elf/crt1.c. Stop > [1] =A0 =A036086 exit 2 =A0 =A0 make nevermind, rm -rf /usr/obj/usr/src/lib/csu fixed the problem. --=20 Renato Botelho