From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.devel Subject: Re: [Christoph.Bauer@lms-gmbh.de: HP-UX: link error] Date: Tue, 21 Mar 2006 00:19:38 -0600 Message-ID: <2ED4BD2B-04FB-4C4D-9A15-8922CC0D8DA6@raeburn.org> References: <87u09uv54m.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1142922126 21729 80.91.229.2 (21 Mar 2006 06:22:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Mar 2006 06:22:06 +0000 (UTC) Cc: Chong Yidong , Christoph.Bauer@lms-gmbh.de, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 21 07:22:04 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FLaFk-0000zM-95 for ged-emacs-devel@m.gmane.org; Tue, 21 Mar 2006 07:22:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FLaFo-0006pi-8g for ged-emacs-devel@m.gmane.org; Tue, 21 Mar 2006 01:22:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FLaFb-0006nj-K6 for emacs-devel@gnu.org; Tue, 21 Mar 2006 01:21:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FLaFZ-0006lq-SJ for emacs-devel@gnu.org; Tue, 21 Mar 2006 01:21:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FLaFZ-0006lh-Oc for emacs-devel@gnu.org; Tue, 21 Mar 2006 01:21:49 -0500 Original-Received: from [207.14.217.166] (helo=server) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1FLaFX-0003mG-Ha; Tue, 21 Mar 2006 01:21:48 -0500 Original-Received: from [204.96.114.201] ([204.96.114.201]) by server (8.12.8/8.12.8) with SMTP id k2L4qf2x002743; Mon, 20 Mar 2006 23:52:43 -0500 In-Reply-To: Original-To: rms@gnu.org X-Mailer: Apple Mail (2.746.3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:51923 Archived-At: On Mar 20, 2006, at 09:05, Richard Stallman wrote: >> on HP-UX I got this error (latest CVS version of emacs). >> >> >> /usr/ccs/bin/ld: Duplicate symbol "append_glyph" in files xdisp.o >> and term.o > > I think I see the cause of this. There is a static function called > append_glyph defined in xdisp.o. Apparently that version of GCC > compiles it in a way that isn't static, effectively producing > two global definitions of append_glyph. src/m/hpux.h has "#define static", and I think all the version- specific headers inherit it from there; perhaps that's the cause... the comment indicates that everything "static" goes into initialized data (which may be just the native compiler, or gcc too, I don't know), and emacs doesn't like that, so it's worked around.