From owner-freebsd-gnome@FreeBSD.ORG Fri Jul 22 08:58:43 2011 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D90E1065670 for ; Fri, 22 Jul 2011 08:58:43 +0000 (UTC) (envelope-from manek@ghur.net) Received: from mail11b.verio-web.com (mail11b.verio-web.com [204.202.242.87]) by mx1.freebsd.org (Postfix) with ESMTP id 2BAB38FC0C for ; Fri, 22 Jul 2011 08:58:42 +0000 (UTC) Received: from mx34.stngva01.us.mxservers.net (204.202.242.42) by mail11b.verio-web.com (RS ver 1.0.95vs) with SMTP id 1-058383521 for ; Fri, 22 Jul 2011 04:32:02 -0400 (EDT) Received: from unknown [161.58.148.99] (EHLO mmm1129.verio-web.com) by va1-mx34.stngva01.us.mxservers.net (mxl_mta-3.1.0-05) with ESMTP id 185392e4.2661276576.213150.00-006.va1-mx34.stngva01.us.mxservers.net (envelope-from ); Fri, 22 Jul 2011 04:32:01 -0400 (EDT) Received: (qmail 3544 invoked from network); 22 Jul 2011 08:32:01 -0000 Received: from unknown (HELO Redemption) (71.198.209.193) by with SMTP; 22 Jul 2011 08:32:01 -0000 From: "Sameer R. Manek" To: Date: Fri, 22 Jul 2011 01:31:59 -0700 Message-ID: <000001cc4849$d366e490$7a34adb0$@ghur.net> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AcxISRhWD7Q5S/4gRuCAWrJQxF3S+A== Content-Language: en-us X-Spam: [F=0.2000000000; S=0.200(2010122901); MH=0.500(2011072205)] X-MAIL-FROM: X-SOURCE-IP: [161.58.148.99] X-SF-Loop: 1 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: compiling glib20 in ports with gcc v4.6.2 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2011 08:58:43 -0000 While attempting to build glib20 (2.26.1) from ports using gcc v4.6.2, I encountered the error /usr/bin/ld: unrecognized option '-Bsymbolic-functions' I'm not sure if the syntax has changed from gcc 4.2.2. to gcc 4.6.2, but the following Makefiles need to be adjust for it to properly compile. /usr/ports/devel/glib20/work/glib-2.26.1/glib/Makefile /usr/ports/devel/glib20/work/glib-2.26.1/gmodule/Makefile /usr/ports/devel/glib20/work/glib-2.26.1/gthread/Makefile /usr/ports/devel/glib20/work/glib-2.26.1/gobject/Makefile /usr/ports/devel/glib20/work/glib-2.26.1/gio/Makefile Change the line: GLIB_LINK_FLAGS = -Wl,-Bsymbolic-functions to: GLIB_LINK_FLAGS = -Wl,-Bsymbolic Thanks Sameer Relevant versions: 8.2-STABLE FreeBSD 8.2-STABLE #0: Thu Jul 21 21:35:24 PDT gcc version 4.6.2 20110715 (prerelease) (FreeBSD Ports Collection)