From owner-freebsd-x11@FreeBSD.ORG Tue Jun 22 08:22:52 2004 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D71616A4CF for ; Tue, 22 Jun 2004 08:22:52 +0000 (GMT) Received: from smtp004.bizmail.sc5.yahoo.com (smtp004.bizmail.sc5.yahoo.com [66.163.175.81]) by mx1.FreeBSD.org (Postfix) with SMTP id 844F043D39 for ; Tue, 22 Jun 2004 08:22:52 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from unknown (HELO optimator.noacks.org) (noackjr@supercrime.org@70.240.231.39 with login) by smtp004.bizmail.sc5.yahoo.com with SMTP; 22 Jun 2004 08:22:35 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 673266185; Tue, 22 Jun 2004 03:22:34 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 79259-05; Tue, 22 Jun 2004 03:22:33 -0500 (CDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id EECFD6183; Tue, 22 Jun 2004 03:22:32 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.12.11/8.12.11) with ESMTP id i5M8MWSk096851; Tue, 22 Jun 2004 03:22:32 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <40D7EC48.5010800@alumni.rice.edu> Date: Tue, 22 Jun 2004 03:22:32 -0500 From: Jon Noack User-Agent: Mozilla Thunderbird 0.6 (X11/20040531) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org, freebsd-x11@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at noacks.org Subject: -Os -> libXaw.so: undefined reference to `.L91' X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2004 08:22:52 -0000 Cross-posted because the failure happens when compiling teTex even though the problem is really caused by (XFree86|xorg)-libraries. Ignorant folks (like me) may not know to do a "pkg_which /usr/X11R6/lib/libXaw.so" and ask on the -x11 list. Also, this shows that -Os may not be as reliable as expected. I apologize if I shouldn't have cross-posted. Short version: Don't compile (XFree86|xorg)-libraries with -Os. Long, rambling version: I have been running into the following problem when attempting to compile teTex: /usr/X11R6/lib/libXaw.so: undefined reference to `.L91' A search turned up this page (not sure on the language -- all I know is that I can't read it!): http://www.bsdguru.org/dyskusja/viewtopic.php?t=2707 My deductive reasoning skills noted the following details about the final post: 1) smiley face (with shades!), usually indicative of a problem solved 2) -Os, a flag I have in /etc/make.conf 3) "bibliotek XFree", which I assume is XFree86-libraries (go high school Spanish!) I recompiled the xorg-libraries port with just -O (instead of -Os) and, violà, everything compiles nicely. In retrospect, it was a simple library problem and I should have known to recompile (XFree86|xorg)-libraries based on the origin of libXaw.so. Anyone run into problems with -Os on other ports? I've seen some ports not compile with it (mplayer is the only that immediately comes to mind), but never a delayed issue like this where it affects a different port. Jon Noack