NetBSD Problem Report #33318

From dauphin@enst.fr  Thu Apr 20 14:16:31 2006
Return-Path: <dauphin@enst.fr>
Received: from smtp2.enst.fr (unknown [137.194.2.10])
	by narn.netbsd.org (Postfix) with ESMTP id 3C87163B8A0
	for <gnats-bugs@gnats.netbsd.org>; Thu, 20 Apr 2006 14:16:31 +0000 (UTC)
Message-Id: <1145542556.14026@bi.enst.fr>
Date: Thu, 20 Apr 2006 16:15:56 +0200
From: "Gilles Dauphin" <dauphin@enst.fr>
To: "gnats bugs" <gnats-bugs@netbsd.org>
Subject: security/john Solaris10 x86_64
X-Send-Pr-Version: gtk-send-pr 0.4.5 
X-GNATS-Notify:

>Number:         33318
>Category:       pkg
>Synopsis:       security/john Solaris10 x86_64
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 20 14:20:00 +0000 2006
>Last-Modified:  Fri Apr 21 16:09:41 +0000 2006
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc


>Description:


bmake ../run/john ../run/unshadow ../run/unafs ../run/unique
gcc  -s DES_fmt.o DES_std.o DES_bs.o  BSDI_fmt.o  MD5_fmt.o MD5_std.o  BF_fmt.o BF_std.o  AFS_fmt.o  LM_fmt.o  batch.o bench.o charset.o common.o compiler.o config.o cracker.o  crc32.o external.o formats.o getopt.o idle.o inc.o john.o list.o  loader.o logger.o math.o memory.o misc.o options.o params.o path.o  recovery.o rpp.o rules.o signals.o single.o status.o tty.o wordlist.o  unshadow.o  unafs.o  unique.o  DES_bs_b.o -o ../run/john
Undefined                       first referenced
 symbol                             in file
sched_yield                         idle.o
ld: fatal: Symbol referencing errors. No output written to ../run/john
collect2: ld returned 1 exit status
*** Error code 1

Stop.



>How-To-Repeat:


bmake in john


>Fix:


[root@u2 1063] diff -bu Makefile /home/cvsmywork/pkgsrc/security/john/Makefile 
--- Makefile    Thu Mar 30 16:01:12 2006
+++ /home/cvsmywork/pkgsrc/security/john/Makefile       Thu Apr 20 16:10:09 2006
@@ -27,10 +27,11 @@
 .  else
 BUILD_TARGET=  solaris-sparc-gcc
 .  endif
-.elif ${OPSYS} == "SunOS" && ${MACHINE_ARCH} == "i386"
+.elif ${OPSYS} == "SunOS" && ${MACHINE_ARCH} == "i386" && ${ABI} == "32"
 BUILD_TARGET=  solaris-x86-any
 .else
 BUILD_TARGET=  generic
+LDFLAGS+=      -lrt
 .endif

 INSTALLATION_DIRS=     bin
[root@u2 1064] 



>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: reed@netbsd.org
Responsible-Changed-When: Fri, 21 Apr 2006 16:09:41 +0000
Responsible-Changed-Why:
Assign to pkgsrc developers who can help on Solaris.


>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.