Date: Thu, 18 Sep 2008 23:33:13 -0500 (CDT) From: Stephen Montgomery-Smith <stephen@math.missouri.edu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/127490: devel/ptmalloc port doesn't apply the -fPIC flag Message-ID: <200809190433.m8J4XD1x054342@cauchy.math.missouri.edu> Resent-Message-ID: <200809190440.m8J4e29M006393@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 127490 >Category: ports >Synopsis: devel/ptmalloc port doesn't apply the -fPIC flag >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Sep 19 04:40:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Stephen Montgomery-Smith >Release: FreeBSD 7.0-STABLE i386 >Organization: >Environment: System: FreeBSD cauchy 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon Jul 14 15:26:47 CDT 2008 stephen@cauchy:/usr/obj/usr/src/sys/GENERIC i386 >Description: If you try to link libptmalloc.so you get an error that it wasn't built with the -fPIC flag. Also, there is another port - ptmalloc2 - which is identical to ptmalloc. >How-To-Repeat: >Fix: diff -ur /usr/ports-old/devel/ptmalloc/files/patch-Makefile files/patch-Makefile --- /usr/ports-old/devel/ptmalloc/files/patch-Makefile 2008-08-14 13:46:25.000000000 -0500 +++ files/patch-Makefile 2008-09-17 11:01:07.000000000 -0500 @@ -31,7 +31,7 @@ tst-mallocstate$(T_SUF) tst-mstats$(T_SUF) -CFLAGS = $(SYS_FLAGS) $(OPT_FLAGS) $(WARN_FLAGS) $(THR_FLAGS) $(INC_FLAGS) -+CFLAGS += $(SYS_FLAGS) $(OPT_FLAGS) $(WARN_FLAGS) $(THR_FLAGS) $(INC_FLAGS) ++CFLAGS += $(SYS_FLAGS) $(OPT_FLAGS) $(WARN_FLAGS) $(THR_FLAGS) $(INC_FLAGS) $(SH_FLAGS) .c.o: $(CC) -c $(CFLAGS) $< >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809190433.m8J4XD1x054342>