From owner-freebsd-ports@FreeBSD.ORG Sat Jun 21 20:16:56 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77927106564A for ; Sat, 21 Jun 2008 20:16:56 +0000 (UTC) (envelope-from dale.hagglund@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.239]) by mx1.freebsd.org (Postfix) with ESMTP id 3D3D78FC1B for ; Sat, 21 Jun 2008 20:16:56 +0000 (UTC) (envelope-from dale.hagglund@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so829541wra.27 for ; Sat, 21 Jun 2008 13:16:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:mime-version:content-type; bh=RKoXUUup+6HXFVpwRu0bLO9Qu5UVRPTtqZ9YcqZtotc=; b=BQl9Vs5ixB2EABFrQnGeEg6kI79x7dXakdjNZOJLnoh9CTL8H2rSAGt2dUyVAsuUuL J8WCFb5VExwCxodlZ87ZQgDvJ8AYwU2ECswMlhZZdHeb/6slQnZE/seE6JjX7eJ4r3O+ so2zuJvMAWENRAluDCZUepX6aSE09IpdoYk68= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:mime-version:content-type; b=gEeaxbjGyYUZE1+42B+HC3e0qureTj7OYS4GnleLf6L55Cb/FzatQkT4OQxAeh/X/+ +yPllt9/xQR56vlV2t0tCo5SZ1HplFatwUM/fsh33iCo0uwFhuWFWud5ijsZ35JgaeVA Xmqueyw5ZLdjf1liHM1e+ehfbUYwC2C5vBoJE= Received: by 10.90.66.14 with SMTP id o14mr6323610aga.61.1214077721204; Sat, 21 Jun 2008 12:48:41 -0700 (PDT) Received: from ponoka.ab.hsia.telus.net ( [75.155.82.234]) by mx.google.com with ESMTPS id f10sm6184606pyh.43.2008.06.21.12.48.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 21 Jun 2008 12:48:37 -0700 (PDT) From: Dale Hagglund To: ports@freebsd.org Date: Sat, 21 Jun 2008 13:48:22 -0600 Message-ID: <863an6muwp.fsf@ponoka.ab.hsia.telus.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: olgeni@freebsd.org Subject: erlang doesn't build on 7.0? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jun 2008 20:16:56 -0000 I just tried to install the lang/erlang port on my freebsd 7.0 box. It failed with a linker error while building the "beam" binary. cc -o path/to/beam \ -L/usr/local/lib -Wl,-export-dynamic \ ... lots of .o files ... \ -lethread -lpthread -lerts_internal_r /usr/lib/libpthread.a(thr_sig.o)(.text+0x1c0): In function `_sigaction': : multiple definition of `_sigaction' obj/i386-unknown-freebsd7.0/opt/plain/hipe_x86_signal.o(.text+0x0): first defined here /usr/bin/ld: Warning: size of symbol `_sigaction' changed from 155 in obj/i386-unknown-freebsd7.0/opt/plain/hipe_x86_signal.o to 55 in /usr/lib/libpthread.a(thr_sig.o) So, hipe_x86_signal.c is redefining sigaction(). I looked briefly at this file, and it *appears* that this should only happen for glibc-based compiles or solaris builds, but the ifdef nest is somewhat complicated, so I'm by no means sure. After figuring out how to add --disable-hipe to the configure arguments, "make build" completes successfully. Am I missing something obvious here? Should I have been able to build with the hipe extensions or is this an error in the port makefiles? Dale.