NetBSD Problem Report #41792

From www@NetBSD.org  Mon Jul 27 14:19:14 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 1E3CB63B8E9
	for <gnats-bugs@gnats.netbsd.org>; Mon, 27 Jul 2009 14:19:14 +0000 (UTC)
Message-Id: <20090727141913.DF07363B8DB@www.NetBSD.org>
Date: Mon, 27 Jul 2009 14:19:13 +0000 (UTC)
From: jcarr@poethecat.com
Reply-To: jcarr@poethecat.com
To: gnats-bugs@NetBSD.org
Subject: chat/ircII files in compile due to undefined references on m68k/sun3
X-Send-Pr-Version: www-1.0

>Number:         41792
>Category:       pkg
>Synopsis:       chat/ircII files in compile due to undefined references on m68k/sun3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 27 14:20:00 +0000 2009
>Closed-Date:    Sat Apr 27 11:55:16 +0000 2013
>Last-Modified:  Sat Apr 27 11:55:16 +0000 2013
>Originator:     John Carr
>Release:        NetBSD/sun3-5.0
>Organization:
>Environment:
NetBSD moonbeam 5.0 NetBSD 5.0 (MOONBEAM-SLIM) #0: Wed Jul 15 19:42:20 EDT 2009  root@moonbeam:/usr/src/sys/arch/sun3/compile/MOONBEAM-SLIM sun3

>Description:
chat/ircII fails on compile on m68k/sun3. With no errors or warnings during the main part of the compile, it eventually fails with the errors below. This has been reproduced using the patches in pkgsrc-2009Q2 and -current.



cc -I. -I/usr/pkgsrc/chat/ircII/work/ircii-20081115/include -I/usr/pkgsrc/chat/ircII/work/ircii-20081115/source/rijndael -pipe -O2 -DHAVE_CONFIG_H -c /usr/pkgsrc/chat/ircII/work/ircii-20081115/source/whois.c
cc -I. -I/usr/pkgsrc/chat/ircII/work/ircii-20081115/include -I/usr/pkgsrc/chat/ircII/work/ircii-20081115/source/rijndael -pipe -O2 -DHAVE_CONFIG_H -c /usr/pkgsrc/chat/ircII/work/ircii-20081115/source/window.c
cc -pipe -O2 -Wl,-R/usr/pkg/lib -DHAVE_CONFIG_H -o irc alias.o crypt.o ctcp.o dcc.o debug.o edit.o exec.o flood.o  funny.o help.o history.o hold.o hook.o icb.o if.o ignore.o  input.o irc.o ircaux.o ircsig.o keys.o lastlog.o list.o log.o  mail.o menu.o names.o newio.o notice.o notify.o numbers.o  output.o parse.o queue.o reg.o scandir.o screen.o server.o  sl.o stack.o status.o strsep.o term.o translat.o vars.o whois.o  window.o -ltermcap -L/usr/pkg/lib  -lcrypt
edit.o: In function `funny_stuff':
edit.c:(.text+0x252c): undefined reference to `set_funny_flags'
edit.c:(.text+0x2588): undefined reference to `funny_match'
edit.c:(.text+0x2646): undefined reference to `funny_match'
notice.o: In function `got_initial_version':
notice.c:(.text+0x2dc): undefined reference to `reinstate_user_modes'
numbers.o: In function `numbered_command':
numbers.c:(.text+0xada): undefined reference to `funny_print_widelist'
numbers.c:(.text+0xeaa): undefined reference to `funny_mode'
numbers.c:(.text+0xf76): undefined reference to `funny_list'
numbers.c:(.text+0x106e): undefined reference to `funny_namreply'
numbers.c:(.text+0x1298): undefined reference to `funny_list'
parse.o: In function `p_mode':
parse.c:(.text+0xdb0): undefined reference to `update_user_mode'
parse.c:(.text+0xe04): undefined reference to `update_user_mode'
parse.o: In function `irc2_parse_server':
parse.c:(.text+0x14ee): undefined reference to `funny_namreply'
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/chat/ircII/work/ircii-20081115
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/chat/ircII
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/chat/ircII

>How-To-Repeat:
Build chat/ircII from pkgsrc
>Fix:

>Release-Note:

>Audit-Trail:
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/41792: chat/ircII files in compile due to undefined
	references on m68k/sun3
Date: Sat, 1 Aug 2009 17:09:21 +0000

 On Mon, Jul 27, 2009 at 02:20:00PM +0000, jcarr@poethecat.com wrote:
  > chat/ircII fails on compile on m68k/sun3. With no errors or
  > warnings during the main part of the compile, it eventually fails
  > with the errors below. This has been reproduced using the patches
  > in pkgsrc-2009Q2 and -current.
  >
  > [stuff showing all the symbols from funny.o missing]

 Did it skip compiling funny.o or something? Does funny.o exist and
 does it have these symbols in it if you examine it with nm?

 -- 
 David A. Holland
 dholland@netbsd.org

From: John Carr <jcarr@poethecat.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/41792: chat/ircII files in compile due to undefined
	references on m68k/sun3
Date: Mon, 3 Aug 2009 15:18:13 -0400

 On Sat, Aug 01, 2009 at 05:10:05PM +0000, David Holland wrote:
 >  On Mon, Jul 27, 2009 at 02:20:00PM +0000, jcarr@poethecat.com wrote:
 >   > chat/ircII fails on compile on m68k/sun3. With no errors or
 >   > warnings during the main part of the compile, it eventually fails
 >   > with the errors below. This has been reproduced using the patches
 >   > in pkgsrc-2009Q2 and -current.
 >   > [stuff showing all the symbols from funny.o missing]
 >  Did it skip compiling funny.o or something? Does funny.o exist and
 >  does it have these symbols in it if you examine it with nm?

 Nope... funny.o definitely compiled, but nm shows no symbols at all:

 hostname# nm funny.o
 hostname# 

 Please let me know what else I can help with!

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/41792: chat/ircII files in compile due to undefined
	references on m68k/sun3
Date: Sun, 16 Aug 2009 05:55:56 +0000

 On Mon, Aug 03, 2009 at 07:20:03PM +0000, John Carr wrote:
  > > > [stuff showing all the symbols from funny.o missing]
  > >  Did it skip compiling funny.o or something? Does funny.o exist and
  > >  does it have these symbols in it if you examine it with nm?
  >  
  >  Nope... funny.o definitely compiled, but nm shows no symbols at all:
  >  
  >  hostname# nm funny.o
  >  hostname# 

 That's Weird(TM).

  >  Please let me know what else I can help with!

 I don't know, that's the problem... :-/

 I guess run the compile command for funny.o manually (instead of from
 make) and see if it does the same thing, and if so try to come up with
 a standalone test case.

 -- 
 David A. Holland
 dholland@netbsd.org

State-Changed-From-To: open->feedback
State-Changed-By: shattered@NetBSD.org
State-Changed-When: Sun, 22 Jul 2012 19:49:20 +0000
State-Changed-Why:
ircII-20111115nb3 builds fine on 5.0 (I tested in TME).  Please verify.


State-Changed-From-To: feedback->closed
State-Changed-By: shattered@NetBSD.org
State-Changed-When: Sat, 27 Apr 2013 11:55:16 +0000
State-Changed-Why:
Feedback timeout


>Unformatted:

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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.