NetBSD Problem Report #50605

From www@NetBSD.org  Fri Jan  1 22:32:13 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.NetBSD.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 90CEE7A211
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  1 Jan 2016 22:32:13 +0000 (UTC)
Message-Id: <20160101223211.8FDA87ACBF@mollari.NetBSD.org>
Date: Fri,  1 Jan 2016 22:32:11 +0000 (UTC)
From: nullnilaki@gmail.com
Reply-To: nullnilaki@gmail.com
To: gnats-bugs@NetBSD.org
Subject: emacs21 and emacs22 doesn't build on NetBSD/alpha and NetBSD/sparc64
X-Send-Pr-Version: www-1.0

>Number:         50605
>Category:       pkg
>Synopsis:       emacs21 and emacs22 doesn't build on NetBSD/alpha and NetBSD/sparc64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 01 22:35:00 +0000 2016
>Originator:     Naruaki Etomi
>Release:        NetBSD 7.0 and pkgsrc2015Q4
>Organization:
Japan
>Environment:
NetBSD 7.0 (GENERIC.201509250726Z) sparc64
NetBSD 7.0 (GENERIC-$Revision: 1.358.4.2 $.201509250726Z) alpha
>Description:
emacs21 and emacs22 doesn't build on NetBSD/alpha and NetBSD/sparc64

Please see below

-----------------------------------------------------------------

gcc -nostartfiles  `echo  | sed -e 's/-R/-Wl,-rpath,/'` -Wl,-rpath,/usr/pkg/lib -L/usr/pkg/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib          -Wl,-z,nocombreloc -Wl,-R/usr/pkg/lib     -o temacs pre-crt0.o /usr/lib/crt0.o /usr/lib/crti.o /usr/lib/crtbegin.o dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o       charset.o coding.o category.o ccl.o     cm.o term.o xfaces.o    emacs.o keyboard.o macros.o keymap.o sysdep.o   buffer.o filelock.o insdel.o marker.o   minibuf.o fileio.o dired.o filemode.o   cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o  alloc.o data.o doc.o editfns.o callint.o        eval.o floatfns.o fns.o print.o lread.o         abbrev.o syntax.o unexelf.o mocklisp.o bytecode.o       process.o callproc.o    region-cache.o sound.o atimer.o         doprnt.o strftime.o intervals.o textprop.o composite.o md5.o     terminfo.o lastfile.o gmalloc.o ralloc.o vm-limit.o   mktime.o          -lossaudio      -ltermcap       -lm -lgcc -lc -lgcc /usr/lib/crtend.o
  /usr/lib/crtn.o    
emacs.o:(.data+0x528): multiple definition of `__DTOR_LIST__'
/usr/lib/crtbegin.o:(.dtors+0x0): first defined here
ld: Warning: size of symbol `__DTOR_LIST__' changed from 8 in /usr/lib/crtbegin.o to 16 in emacs.o
emacs.o:(.data+0x538): multiple definition of `__CTOR_LIST__'
/usr/lib/crtbegin.o:(.ctors+0x0): first defined here
ld: Warning: size of symbol `__CTOR_LIST__' changed from 8 in /usr/lib/crtbegin.o to 16 in emacs.o
Makefile:99: recipe for target 'temacs' failed
gmake[1]: *** [temacs] Error 1
gmake[1]: Leaving directory '/usr/pkgsrc/editors/emacs21-nox11/work/emacs-21.4/src'
Makefile:263: recipe for target 'src' failed
gmake: *** [src] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/editors/emacs21-nox11
*** Error code 1

-----------------------------------------------------------------


>How-To-Repeat:
try to build the tor package
>Fix:

NetBSD Home
NetBSD PR Database Search

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