From tom@eborcom.com Sun Apr 18 08:31:09 1999
Return-Path: <tom@eborcom.com>
Received: from mail12.svr.pol.co.uk (mail12.svr.pol.co.uk [195.92.193.215])
	by hub.freebsd.org (Postfix) with ESMTP id 588E514EF4
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 Apr 1999 08:31:08 -0700 (PDT)
	(envelope-from tom@eborcom.com)
Received: from modem-106.tennisstar.dialup.pol.co.uk ([62.136.117.234] ident=[yVJL7VaH94FOsssRt4ze42wMAz000+GK])
	by mail12.svr.pol.co.uk with esmtp (Exim 2.12 #1)
	id 10Yssl-0007g4-00
	for FreeBSD-gnats-submit@freebsd.org; Sun, 18 Apr 1999 15:49:17 +0100
Received: (qmail 19762 invoked by uid 5000); 18 Apr 1999 15:21:40 -0000
Message-Id: <19990418152140.19761.qmail@eborcom.com>
Date: 18 Apr 1999 15:21:40 -0000
From: Tom Hukins <tom@eborcom.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: gtk12 requires -E option for ld
X-Send-Pr-Version: 3.2

>Number:         11202
>Category:       ports
>Synopsis:       gtk12 requires -E option for ld
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    steve
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 18 08:30:02 PDT 1999
>Closed-Date:    Mon Apr 19 12:21:02 PDT 1999
>Last-Modified:  Mon Apr 19 12:21:48 PDT 1999
>Originator:     Tom Hukins
>Release:        FreeBSD 2.2.8-STABLE i386
>Organization:
eBORcOM
>Environment:

FreeBSD-2.2

>Description:

The gtk12 port does not build on FreeBSD-2.2.x. I realise that 2.2
is no longer officially supported by the Ports collection, but GTK
is quite an important port, and I suspect this might be easy to fix.

The problem is that gtk12 pases the -E option to ld. This option has
been added to ld since 2.2, and ld fails:

checking for GLIB - version >= 1.2.1... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured.

config.log says:

configure:4705: checking for GLIB - version >= 1.2.1
configure:4804: cc -o conftest -O -pipe -m486 -Wall
  -I/usr/local/include/glib12 -D_THREAD_SAFE -pthread
  -I/usr/local/include conftest.c -L/usr/local/lib -Wl,-E
  -lgmodule12 -lgthread12 -lglib12 -lc_r -lintl -L/usr/local/lib
  1>&5
ld: invalid command option -E'

>How-To-Repeat:

# cd /usr/ports/x11-toolkits/gtk12
# make all

>Fix:
	
	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->vanilla 
Responsible-Changed-By: jseger 
Responsible-Changed-When: Sun Apr 18 15:11:41 PDT 1999 
Responsible-Changed-Why:  
Over to MAINTAINER. 
State-Changed-From-To: open->feedback 
State-Changed-By: steve 
State-Changed-When: Sun Apr 18 20:49:47 PDT 1999 
State-Changed-Why:  
This is because gtk1.2 expects to be built on an ELF system.  If you can 
work up a patch that doesn't break the build for ELF boxen I'd be glad to 
commit it. 


Responsible-Changed-From-To: vanilla->steve 
Responsible-Changed-By: steve 
Responsible-Changed-When: Sun Apr 18 20:49:47 PDT 1999 
Responsible-Changed-Why:  
Vanilla is off serving his country is likely to not get to this one for 
awhile. 
State-Changed-From-To: feedback->closed 
State-Changed-By: billf 
State-Changed-When: Mon Apr 19 12:21:02 PDT 1999 
State-Changed-Why:  
See ports/11116, I'm working on this 
>Unformatted:
