Date: Mon, 13 Apr 1998 15:00:22 +0400 (MSD) From: Dmitry Khrustalev <dima@xyzzy.machaon.ru> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: gnu/6287: typo in contrib/gcc/config/i386/freebsd.h Message-ID: <199804131100.PAA00481@xyzzy.machaon.ru>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804131100.PAA00481>
