Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2005 12:37:05 +0300
From:      "Andrei V. Shetuhin"<shetuhin@corp.mail.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/89056: FreeBSD 6.0 valgrind compile errors
Message-ID:  <2810426468.20051115123705@corp.mail.ru>
Resent-Message-ID: <200511150950.jAF9oIOL092655@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2810426468.20051115123705>