From owner-freebsd-amd64@FreeBSD.ORG Sun Feb 1 04:36:50 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6E2D16A4CE for ; Sun, 1 Feb 2004 04:36:50 -0800 (PST) Received: from fed1mtao04.cox.net (fed1mtao04.cox.net [68.6.19.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id C024443D53 for ; Sun, 1 Feb 2004 04:36:47 -0800 (PST) (envelope-from xcas@cox.net) Received: from localhost.bsd-unix.org ([68.2.134.143]) by fed1mtao04.cox.netSMTP <20040201123647.FOFH29509.fed1mtao04.cox.net@localhost.bsd-unix.org>; Sun, 1 Feb 2004 07:36:47 -0500 Date: Sun, 1 Feb 2004 05:37:59 -0700 From: "Greg J." To: Palle Girgensohn Message-Id: <20040201053759.7dbed7b2.xcas@cox.net> In-Reply-To: <125210000.1075570485@palle.girgensohn.se> References: <125210000.1075570485@palle.girgensohn.se> X-Mailer: Sylpheed version 0.9.9 (GTK+ 1.2.10; amd64-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: amd64@freebsd.org Subject: Re: please try this patch for: postgresql-libpq++-4.0_1 broken on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Feb 2004 12:36:51 -0000 On Sat, 31 Jan 2004 18:34:45 +0100 Palle Girgensohn wrote: > Hi, > > Can someone on amd64 try this patch by putting it in > ports/databases/postgresql-libpq++/files and try building the port? > > It's supposed to fix this problem: > -4.0_1.log> > > Thanks, > Palle > Didn't work. localhost# make ===> Extracting for postgresql-libpq++-4.0_1 >> Checksum OK for postgresql/libpq++-4.0.tar.gz. ===> Patching for postgresql-libpq++-4.0_1 ===> Applying FreeBSD patches for postgresql-libpq++-4.0_1 /usr/bin/sed -i.bak "s,/usr/local/pgsql,/usr/local,; s,^CFLAGS.*,CFLAGS=-O -pipe ,; s,\...SO_MINOR_VERSION.,,; s,\(\-[IL]\)[^/]*,\\1/usr/local," /usr/ports/databases/postgresql-libpq++/work/libpq++-4.0/Makefile ===> postgresql-libpq++-4.0_1 depends on executable: gmake - found ===> postgresql-libpq++-4.0_1 depends on shared library: pq.3 - found ===> Configuring for postgresql-libpq++-4.0_1 ===> Building for postgresql-libpq++-4.0_1 g++ -c -O -pipe -DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER -DDLLIMPORT="" -I/usr/local/include pgconnection.cc g++ -c -O -pipe -DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER -DDLLIMPORT="" -I/usr/local/include pgdatabase.cc g++ -c -O -pipe -DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER -DDLLIMPORT="" -I/usr/local/include pgtransdb.cc g++ -c -O -pipe -DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER -DDLLIMPORT="" -I/usr/local/include pgcursordb.cc g++ -c -O -pipe -DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER -DDLLIMPORT="" -I/usr/local/include pglobject.cc g++ -O -pipe pgconnection.o pgdatabase.o pgtransdb.o pgcursordb.o pglobject.o -L/usr/local/lib -lpq -fpic -fPIC -shared -Wl,-x,-soname,libpq++.so.4 -Wl,-rpath,/usr/local/lib -o libpq++.so.4 /usr/bin/ld: pgconnection.o: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC pgconnection.o: could not read symbols: Bad value gmake: *** [libpq++.so.4] Error 1 *** Error code 2 Stop in /usr/ports/databases/postgresql-libpq++. localhost#