From owner-svn-src-all@FreeBSD.ORG Sat Aug 6 20:50:07 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2C38106566C; Sat, 6 Aug 2011 20:50:07 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward14.mail.yandex.net (forward14.mail.yandex.net [95.108.130.92]) by mx1.freebsd.org (Postfix) with ESMTP id 28E3B8FC0A; Sat, 6 Aug 2011 20:50:06 +0000 (UTC) Received: from smtp11.mail.yandex.net (smtp11.mail.yandex.net [95.108.130.67]) by forward14.mail.yandex.net (Yandex) with ESMTP id 15322198229A; Sun, 7 Aug 2011 00:34:49 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1312662889; bh=DgUX09yC1/1giJCZls28+KxauYqoy9hGV2AgNZ+eba0=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=t4jZPZxLAlJi6Q1rN2dxaxJo0dV4jSrM4sQWD/sN7/iY+lJEv+pX8AzWU+kB5TZoM 8u4WDxQp0h1Kr5JgCQz7Q3eN54/PyodHCQTkto7JdZbOuuAbAqDRx6gZW+TqfZcJTU 0NK/XGcF8msYDxmEbrr8eeMnn4kFZACosZF+g6MY= Received: from smtp11.mail.yandex.net (localhost [127.0.0.1]) by smtp11.mail.yandex.net (Yandex) with ESMTP id E3BB07E033F; Sun, 7 Aug 2011 00:34:48 +0400 (MSD) Received: from unknown (unknown [178.76.212.172]) by smtp11.mail.yandex.net (nwsmtp/Yandex) with ESMTP id YmlSlFka; Sun, 7 Aug 2011 00:34:48 +0400 X-Yandex-Spam: 1 Message-ID: <4E3DA560.6020100@yandex.ru> Date: Sun, 07 Aug 2011 00:34:40 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:5.0) Gecko/20110701 Thunderbird/5.0 MIME-Version: 1.0 To: Marius Strobl References: <201108061748.p76HmUbM061259@svn.freebsd.org> In-Reply-To: <201108061748.p76HmUbM061259@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r224683 - head/lib/libthread_db X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Aug 2011 20:50:07 -0000 Marius Strobl wrote on 06.08.2011 21:48: > Author: marius > Date: Sat Aug 6 17:48:30 2011 > New Revision: 224683 > URL: http://svn.freebsd.org/changeset/base/224683 > > Log: > The tid member of struct pthread actually is long so read it as such. > Accessing it as an int causes failure on big-endian LP64, i.e. mips64be, > powerpc64 and sparc64. > > Reviewed by: marcel > Approved by: re (kib) > MFC after: 1 week > > Modified: > head/lib/libthread_db/libthr_db.c > Hi. Seems like this or related libthread_db commit breaks the build on i386: ===> lib/libthr (all) ===> lib/libthread_db (all) cc -O2 -pipe -I. -I/usr/src/lib/libthread_db -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/lib/libthread_db/thread_db.c cc -O2 -pipe -I. -I/usr/src/lib/libthread_db -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/lib/libthread_db/arch/i386/libpthread_md.c cc -O2 -pipe -I. -I/usr/src/lib/libthread_db -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/lib/libthread_db/libpthread_db.c cc -O2 -pipe -I. -I/usr/src/lib/libthread_db -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/lib/libthread_db/libthr_db.c cc1: warnings being treated as errors /usr/src/lib/libthread_db/libthr_db.c: In function 'pt_ta_map_id2thr': /usr/src/lib/libthread_db/libthr_db.c:217: warning: passing argument 3 of 'thr_pread_long' from incompatible pointer type /usr/src/lib/libthread_db/libthr_db.c: In function 'pt_ta_thr_iter': /usr/src/lib/libthread_db/libthr_db.c:257: warning: passing argument 3 of 'thr_pread_long' from incompatible pointer type /usr/src/lib/libthread_db/libthr_db.c: In function 'pt_ta_event_getmsg': /usr/src/lib/libthread_db/libthr_db.c:398: warning: passing argument 3 of 'thr_pread_long' from incompatible pointer type /usr/src/lib/libthread_db/libthr_db.c: In function 'pt_thr_event_getmsg': /usr/src/lib/libthread_db/libthr_db.c:702: warning: passing argument 3 of 'thr_pread_long' from incompatible pointer type -- Regards, Ruslan