From owner-freebsd-amd64@FreeBSD.ORG Wed Apr 13 20:15:38 2005 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 8C90F16A4CE for ; Wed, 13 Apr 2005 20:15:38 +0000 (GMT) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FD8843D58 for ; Wed, 13 Apr 2005 20:15:38 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id B8744F1BF6; Wed, 13 Apr 2005 13:15:35 -0700 (PDT) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 80840-09; Wed, 13 Apr 2005 13:15:34 -0700 (PDT) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 970F8F1BF3; Wed, 13 Apr 2005 13:15:34 -0700 (PDT) From: Sean McNeil To: Chuck Robey In-Reply-To: <425D7BBC.5030603@chuckr.org> References: <425D7BBC.5030603@chuckr.org> Content-Type: text/plain Date: Wed, 13 Apr 2005 13:15:34 -0700 Message-Id: <1113423334.51283.6.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com cc: freebsd-amd64@FreeBSD.org Subject: Re: amd64 port of transcode broke 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: Wed, 13 Apr 2005 20:15:38 -0000 On Wed, 2005-04-13 at 20:06 +0000, Chuck Robey wrote: > The port of multimedia/transcode is busted. That won't surprise you Actually, from your error below it is not transcode that is busted, but your libXaw. > unduly, but the error is one I would very much like to learn about, so > if you can help, please please do. The error from the build listing (I > always capture build listings) is: > > /bin/sh /usr/local/bin/libtool13 --mode=link cc -Wall > -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 > -fno-strict-aliasing -pipe -L/usr/local/lib -L/usr/X11R6/lib -o > filter_subtitler.la -rpath /usr/local/lib/transcode -modu > le -avoid-version filter_subtitler.lo load_ppml_file.lo load_font.lo > frame_list.lo object_list.lo x11.lo text_processing.lo > load_pictures.lo parser.lo external_programs.lo color_processor.lo > -L/usr/X11R6/lib -lSM -lICE -lXext -lX11 -lXpm -lXaw - > lXt -lm -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype -lz > -L/usr/local/lib -liconv -liconv -lm -lz > rm -fr .libs/filter_subtitler.la .libs/filter_subtitler.* > .libs/filter_subtitler.* > cc -shared -Wl,--rpath -Wl,/usr/local/lib/transcode > filter_subtitler.lo load_ppml_file.lo load_font.lo frame_list.lo obje > ct_list.lo x11.lo text_processing.lo load_pictures.lo parser.lo > external_programs.lo color_processor.lo -L/usr/local/lib - > L/usr/X11R6/lib -lSM -lICE -lXext -lX11 -lXpm -lXaw -lXt -lm -lfreetype > -lz -liconv -liconv -lm -lz -Wl,-soname -Wl,filter > _subtitler.so -o .libs/filter_subtitler.so > /usr/bin/ld: /usr/X11R6/lib/libXaw.a(Simple.o): relocation R_X86_64_32 > can not be used when making a shared object; recompi > le with -fPIC > /usr/X11R6/lib/libXaw.a: could not read symbols: Bad value > gmake[3]: *** [filter_subtitler.la] Error 1 You are missing a shared library. It should have picked up libXaw.so, not libXaw.a. You should reinstall the port that has libXaw - for me, I use xorg-libraries-6.8.2. The file(s) should be /usr/X11R6/lib/libXaw.so*. Check that they exist and have proper symlinks. > OK, I don't recognize that error code, something about "relocation > R_X86_64_32". Do you know what that refers to? I have just recently > rebuilt my lilbXaw (not more than 2 weeks ago, probably less), is it > possible I somehow used a bad flag on that? I rarely try to modify > flags. I never never have anything more than -O2 in there, and even > that is rare. This is an error indicating that you are mixing PIC and non-PIC code together. Everything that goes into a shared library for amd64 needs to be compiled -fPIC, but libXaw.a is not built that way. Cheers, Sean