From owner-svn-src-all@FreeBSD.ORG Mon Dec 7 12:09:48 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 0F42F106568B; Mon, 7 Dec 2009 12:09:48 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id 95F948FC23; Mon, 7 Dec 2009 12:09:44 +0000 (UTC) Received: by ewy3 with SMTP id 3so9619ewy.33 for ; Mon, 07 Dec 2009 04:09:41 -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=i/U2PpJXBNpPVX3VRz1ofA+CeZDpNmWCc9T8pSLiE2Q=; b=nFriVEeQjFKqRcT3VBas6mAJFMQ7adacP+tT5mOQRt54QaDH7ymZH+QUVzB6vVNpgJ Si3emdsiJSh9VNdDvpk7SAPkvd7cYZD/MBiIPOdnA3GodlhncVDNuzp/DrT6hrzMDvh8 UbRX9tYptcaMyMBfEMf+QowKeffe2+y+W6yW4= 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=f7VcLck3d54tcR/QGJN9TpTEKasMd8kR1Mcv3Z5W6OUB3BebdA3vekRmiYKoOK6Ojo D49zGtLWDThpD21Wt1WEFM8BloSpa8SDH8NpgVS4Ek0GO3gZXh+t2PL6j8d1u8Xu4CCL 0xQnv1AsO3Zf4Knp1JtBRoS9efe4BEl6aKG24= MIME-Version: 1.0 Received: by 10.216.87.83 with SMTP id x61mr2337683wee.7.1260187779167; Mon, 07 Dec 2009 04:09:39 -0800 (PST) In-Reply-To: <200912021634.nB2GYLSq031398@svn.freebsd.org> References: <200912021634.nB2GYLSq031398@svn.freebsd.org> From: Renato Botelho Date: Mon, 7 Dec 2009 10:09:19 -0200 Message-ID: <747dc8f30912070409u2c870e06p7c546c878311ed75@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:09:48 -0000 On Wed, Dec 2, 2009 at 2:34 PM, Konstantin Belousov wrote= : > 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 -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 -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 -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 -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 -o gcrt1.o -r crt1_s.o gcrt1_c.o cc -O2 -pipe -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] 36086 exit 2 make --=20 Renato Botelho