From owner-freebsd-bugs Mon Apr 13 04:10:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA28548 for freebsd-bugs-outgoing; Mon, 13 Apr 1998 04:10:03 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA28536; Mon, 13 Apr 1998 04:10:02 -0700 (PDT) (envelope-from gnats) Received: from xyzzy.machaon.ru ([195.218.138.136]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA26391 for ; Mon, 13 Apr 1998 11:00:40 GMT (envelope-from dima@xyzzy.machaon.ru) Received: (from dima@localhost) by xyzzy.machaon.ru (8.8.8/8.8.5) id PAA00481; Mon, 13 Apr 1998 15:00:22 +0400 (MSD) Message-Id: <199804131100.PAA00481@xyzzy.machaon.ru> Date: Mon, 13 Apr 1998 15:00:22 +0400 (MSD) From: Dmitry Khrustalev Reply-To: dima@xyzzy.machaon.ru To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: gnu/6287: typo in contrib/gcc/config/i386/freebsd.h Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 6287 >Category: gnu >Synopsis: typo in contrib/gcc/config/i386/freebsd.h >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 13 04:10:01 PDT 1998 >Last-Modified: >Originator: Dmitry Khrustalev >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: Current of 12 Apr 1998. >Description: linking with -pg broken. >How-To-Repeat: try to link with gcc -pg -v >Fix: --- contrib/gcc/config/i386/freebsd.h.orig Mon Apr 13 14:51:51 1998 +++ contrib/gcc/config/i386/freebsd.h Mon Apr 13 14:52:14 1998 @@ -501,7 +501,7 @@ /* Like the default, except no -lg, and no -p. */ #undef LIB_SPEC -#define LIB_SPEC "%{!shared:%{!pg:%{!pthread:%{!kthread:-lc}%{kthread:-lpthread -lc}}%{pthread:-lc_r}}%{pg:%{!pthread:%{!kthread:-lc_r}%{kthread:-lpthread_p -lc_p}}%{pthread:-lc_r_p}}}" +#define LIB_SPEC "%{!shared:%{!pg:%{!pthread:%{!kthread:-lc}%{kthread:-lpthread -lc}}%{pthread:-lc_r}}%{pg:%{!pthread:%{!kthread:-lc_p}%{kthread:-lpthread_p -lc_p}}%{pthread:-lc_r_p}}}" /* Let gcc locate this for us according to the -m rules */ #undef LIBGCC_SPEC >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message