NetBSD Problem Report #40028

From  Tue Nov 25 21:30:03 2008
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 4A17E63BD2D
	for <>; Tue, 25 Nov 2008 21:30:03 +0000 (UTC)
Message-Id: <>
Date: Tue, 25 Nov 2008 21:30:02 +0000 (UTC)
Subject: lang/gcc34 doesn't build on Mac OS X
X-Send-Pr-Version: www-1.0

>Number:         40028
>Category:       pkg
>Synopsis:       lang/gcc34 doesn't build on Mac OS X
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    sevan
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 25 21:35:00 +0000 2008
>Closed-Date:    Thu Feb 05 17:17:28 +0000 2015
>Last-Modified:  Thu Feb 05 17:17:28 +0000 2015
>Originator:     Edgar Fuß
>Release:        pkgsrc-2008Q3
Mathematisches Institut der Universtät Bonn
Darwin XXX 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
Building lang/gcc34 on my Mac mini fails with:

./xgcc -B./ -B/usr/pkg/gcc34/powerpc-apple-darwin8.11.0/bin/ -isystem /usr/pkg/gcc34/powerpc-apple-darwin8.11.0/include -isystem /usr/pkg/gcc34/powerpc-apple-darwin8.11.0/sys-include -LXXX/pkgsrc/lang/gcc34/work/obj/gcc/../ld -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -mlong-double-128 -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -dynamiclib -nodefaultlibs -Wl,-install_name,/usr/pkg/gcc34/lib/libgcc_s.1.0.dylib -Wl,-flat_namespace -o libgcc_s.1.0.dylib.tmp -compatibility_version 1 -current_version 1.0   libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_cmpdi2.o libgcc/./_ucmpdi2.o libgcc/./_floatdidf.o libgcc/./_floatdisf.o libgcc/./_fixunsdfsi.o libgcc/./_fixunssfsi.o libgcc/./_fixunsdfdi.o libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o libgcc/./_fixsfdi.o libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o li
 bgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o libgcc/./_floatditf.o libgcc/./_clear_cache.o libgcc/./_enable_execute_stack.o libgcc/./_trampoline.o libgcc/./__main.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o libgcc/./_addvsi3.o libgcc/./_addvdi3.o libgcc/./_subvsi3.o libgcc/./_subvdi3.o libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o libgcc/./_ffssi2.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_clzsi2.o libgcc/./_clzdi2.o libgcc/./_ctzsi2.o libgcc/./_ctzdi2.o libgcc/./_popcount_tab.o libgcc/./_popcountsi2.o libgcc/./_popcountdi2.o libgcc/./_paritysi2.o libgcc/./_paritydi2.o libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o libgcc/./darwin-tramp.o libgcc/./darwin-ldouble.o  libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde-darwin.o libgcc/./unwind-sjlj.o libgcc/./unwind-c.o -lc && rm -f libgcc_s.dylib && if [ -f libgcc_s.1.0.dylib ]; then 
 mv -f libgcc_s.1.0.dylib libgcc_s.1.0.dylib.backup; else true; fi && mv libgcc_s.1.0.dylib.tmp libgcc_s.1.0.dylib && ln -s libgcc_s.1.0.dylib libgcc_s.dylib
/usr/bin/libtool: -static not specified, -L invalid
/usr/bin/libtool: can't open file: /usr/pkg/gcc34/lib (No such file or directory)
gmake[3]: *** [libgcc_s.dylib] Error 1

cd lang/gcc34; bmake build



Responsible-Changed-From-To: pkg-manager->darwin-pkg-people
Responsible-Changed-When: Sat, 29 Nov 2008 09:09:00 +0000
Darwin pkgsrc problem.

Responsible-Changed-From-To: darwin-pkg-people->macos-pkg-people
Responsible-Changed-When: Wed, 07 Mar 2012 07:48:04 +0000
darwin-pkg-people has been changed to macos-pkg-people

Responsible-Changed-From-To: macos-pkg-people->sevan
Responsible-Changed-When: Thu, 22 Jan 2015 11:38:29 +0000
Taking this

From: "Sevan Janiyan" <>
Subject: PR/40028 CVS commit: pkgsrc/lang/gcc34
Date: Thu, 22 Jan 2015 11:56:31 +0000

 Module Name:	pkgsrc
 Committed By:	sevan
 Date:		Thu Jan 22 11:56:31 UTC 2015

 Modified Files:
 	pkgsrc/lang/gcc34: distinfo
 	pkgsrc/lang/gcc34/patches: patch-cc

 Log Message:
 Remove the whitespace between $(LINKER_RPATH_FLAG) and the path. Otherwise the
 flag may be misinterpreted by linker (e.g. Apple's ld)

 Closes PR pkg/40028
 Reviewed by wiz@

 To generate a diff of this commit:
 cvs rdiff -u -r1.26 -r1.27 pkgsrc/lang/gcc34/distinfo
 cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/gcc34/patches/patch-cc

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-When: Thu, 05 Feb 2015 17:17:28 +0000
fix commited


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.