From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Nov 15 09:50:19 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2542C16A41F for ; Tue, 15 Nov 2005 09:50:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5171143D46 for ; Tue, 15 Nov 2005 09:50:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAF9oI4c092656 for ; Tue, 15 Nov 2005 09:50:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAF9oIOL092655; Tue, 15 Nov 2005 09:50:18 GMT (envelope-from gnats) Resent-Date: Tue, 15 Nov 2005 09:50:18 GMT Resent-Message-Id: <200511150950.jAF9oIOL092655@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Andrei V. Shetuhin" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CF4416A41F for ; Tue, 15 Nov 2005 09:40:37 +0000 (GMT) (envelope-from shetuhin@corp.mail.ru) Received: from mx1.mail.ru (mx1.mail.ru [194.67.23.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07D7543D45 for ; Tue, 15 Nov 2005 09:40:36 +0000 (GMT) (envelope-from shetuhin@corp.mail.ru) Received: from [195.218.186.22] (port=4670 helo=[195.218.186.22]) by mx1.mail.ru with asmtp id 1EbxIn-000GsO-00 for FreeBSD-gnats-submit@freebsd.org; Tue, 15 Nov 2005 12:40:33 +0300 Message-Id: <2810426468.20051115123705@corp.mail.ru> Date: Tue, 15 Nov 2005 12:37:05 +0300 From: "Andrei V. Shetuhin" To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/89056: FreeBSD 6.0 valgrind compile errors X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Andrei V. Shetuhin" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 09:50:19 -0000 >Number: 89056 >Category: ports >Synopsis: FreeBSD 6.0 valgrind compile errors >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 15 09:50:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Andrei V. Shetuhin >Release: FreeBSD 6.0-RELEASE i386 >Organization: Mail.ru >Environment: System: FreeBSD adolf.corp.mail.ru 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Fri Nov 11 00:41:45 MSK 2005 root@adolf.corp.mail.ru:/usr/src/sys/i386/compile/ADOLF i386 Kernel recompiled to support SMP. >Description: When compiling valgrind, got these errors: vg_mylibc.c: In function `vgPlain_ksigaction': vg_mylibc.c:170: error: `__NR_sigaction' undeclared (first use in this function) vg_mylibc.c:170: error: (Each undeclared identifier is reported only once vg_mylibc.c:170: error: for each function it appears in.) vg_mylibc.c: In function `vgPlain_ksignal': vg_mylibc.c:219: error: `__NR_sigaction' undeclared (first use in this function) vg_mylibc.c: In function `vgPlain_gettid': When I naive changed #if __FreeBSD__ == 5 to #if __FreeBSD__ > 4 in file work/valgrind-stable-352/coregrind/vg_unistd.h, valgrind compiles but not work. ==7150== Memcheck, a memory error detector for x86-linux. ==7150== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward. ==7150== Using valgrind-2.1.0, a program supervision framework for x86-linux. ==7150== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward. Error -1 trying to create proxy LWP for tid 1 valgrind: the `impossible' happened: Can't start proxy LWPs Basic block ctr is approximately 0 ==7150== at 0xB802BE61: ??? ==7150== by 0xB802BE60: ??? ==7150== by 0xB802BE78: ??? ==7150== by 0xB802EEB3: ??? sched status: Thread 1: status = Runnable, associated_mx = 0x0, associated_cv = 0x0 ==7391== at 0x3C0043B0: ??? >How-To-Repeat: cd /usr/ports/devel/valgrind make >Fix: >Release-Note: >Audit-Trail: >Unformatted: