Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Nov 2011 15:44:04 +0000 (UTC)
From:      Max Khon <fjoe@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r228074 - head/rescue/rescue
Message-ID:  <201111281544.pASFi46Y097648@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fjoe
Date: Mon Nov 28 15:44:04 2011
New Revision: 228074
URL: http://svn.freebsd.org/changeset/base/228074

Log:
  -lpthread is required by -lzfs so should be later in LIBS list.
  
  There were no "undefined symbol pthread_xxx" errors during the link before
  this fix only because of STATIC_LIB_REQUIRE() declarations in
  lib/libthr/thread/thr_init.c.

Modified:
  head/rescue/rescue/Makefile

Modified: head/rescue/rescue/Makefile
==============================================================================
--- head/rescue/rescue/Makefile	Mon Nov 28 15:09:31 2011	(r228073)
+++ head/rescue/rescue/Makefile	Mon Nov 28 15:44:04 2011	(r228074)
@@ -123,7 +123,7 @@ CRUNCH_LIBS+= -lalias -lcam -lcurses -ld
 CRUNCH_LIBS+= -lipx
 .endif
 .if ${MK_ZFS} != "no"
-CRUNCH_LIBS+= -lavl -lnvpair -lpthread -lzfs -luutil -lumem
+CRUNCH_LIBS+= -lavl -lnvpair -lzfs -lpthread -luutil -lumem
 .endif
 CRUNCH_LIBS+= -lgeom -lbsdxml -ljail -lkiconv -lmd -lreadline -lsbuf -lufs -lz
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111281544.pASFi46Y097648>