From owner-freebsd-current@FreeBSD.ORG Sun Jul 18 07:39:13 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BFF016A4CE for ; Sun, 18 Jul 2004 07:39:13 +0000 (GMT) Received: from av4-1-sn3.vrr.skanova.net (av4-1-sn3.vrr.skanova.net [81.228.9.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id A911C43D1D for ; Sun, 18 Jul 2004 07:39:12 +0000 (GMT) (envelope-from daniel_k_eriksson@telia.com) Received: by av4-1-sn3.vrr.skanova.net (Postfix, from userid 502) id DA22B37E4A; Sun, 18 Jul 2004 09:39:11 +0200 (CEST) Received: from smtp1-1-sn3.vrr.skanova.net (smtp1-1-sn3.vrr.skanova.net [81.228.9.177]) by av4-1-sn3.vrr.skanova.net (Postfix) with ESMTP id CC72437E48 for ; Sun, 18 Jul 2004 09:39:11 +0200 (CEST) Received: from gadget (h130n1fls11o822.telia.com [213.64.66.130]) by smtp1-1-sn3.vrr.skanova.net (Postfix) with ESMTP id B114F38008 for ; Sun, 18 Jul 2004 09:39:11 +0200 (CEST) From: "Daniel Eriksson" To: Date: Sun, 18 Jul 2004 09:39:14 +0200 Organization: Home Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Subject: World breakage: -O2 and new libthr/libc_r code X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jul 2004 07:39:13 -0000 Marcel Moolenaar's latest libthr libc_r commit seems to have broken world for CFLAGS containing -O2. ===> lib/libthread_db cc -O2 -pipe -fno-builtin -march=athlon-xp -I. -I/usr/src/lib/libthread_db -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /u cc -fpic -DPIC -O2 -pipe -fno-builtin -march=athlon-xp -I. -I/usr/src/lib/libthread_db -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uniniti cc -O2 -pipe -fno-builtin -march=athlon-xp -I. -I/usr/src/lib/libthread_db -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /u cc -fpic -DPIC -O2 -pipe -fno-builtin -march=athlon-xp -I. -I/usr/src/lib/libthread_db -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uniniti In file included from libpthread.h:3, from /usr/src/lib/libthread_db/libpthread_db.c:41: /usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function `_kcb_get': /usr/src/lib/libpthread/arch/i386/include/pthread_md.h:162: warning: dereferencing type-punned pointer will break strict-aliasing rules In file included from libpthread.h:3, from /usr/src/lib/libthread_db/libpthread_db.c:41: /usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function `_kcb_get': /usr/src/lib/libpthread/arch/i386/include/pthread_md.h:162: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function `_kcb_critical_leave': /usr/src/lib/libpthread/arch/i386/include/pthread_md.h:177: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function `_kcb_in_critical': /usr/src/lib/libpthread/arch/i386/include/pthread_md.h:183: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function `_tcb_get': /usr/src/lib/libpthread/arch/i386/include/pthread_md.h:195: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function `_kcb_critical_leave': /usr/src/lib/libpthread/arch/i386/include/pthread_md.h:177: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function `_kcb_in_critical': /usr/src/lib/libpthread/arch/i386/include/pthread_md.h:183: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function `_tcb_get': /usr/src/lib/libpthread/arch/i386/include/pthread_md.h:195: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function `_get_curthread': /usr/src/lib/libpthread/arch/i386/include/pthread_md.h:203: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function `_get_curthread': /usr/src/lib/libpthread/arch/i386/include/pthread_md.h:203: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function `_get_curkse': /usr/src/lib/libpthread/arch/i386/include/pthread_md.h:213: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function `_get_curkse': /usr/src/lib/libpthread/arch/i386/include/pthread_md.h:213: warning: dereferencing type-punned pointer will break strict-aliasing rules *** Error code 1 /Daniel Eriksson