Message-ID: <4DXFJT$BmC@bbs.ustc.edu.cn>
Subject: freebsd-current Digest, Vol 71, Issue 20
Date: Sat, 07 Aug 2004 20:25:17 +0000
From: Galoisz.bbs@bbs.ustc.edu.cn (���博士)
Path: 74.82.202.154!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.unix.mbox.zip!g2news1.google.com!news2.google.com!proxad.net!news.primus.ca!news.primus.ca!news3.optonline.net!news.bylinux.net!netnews.sdu.edu.cn!USTC
Newsgroups: cn.bbs.comp.unix
Organization: 嫺�����
X-Filename: Unix/M.1091910317.A
Lines: 1221
Xref: 74.82.202.154 cn.bbs.comp.unix:1433


Send freebsd-current mailing list submissions to
	freebsd-current@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.freebsd.org/mailman/listinfo/freebsd-current
or, via email, send a message with subject or body 'help' to
	freebsd-current-request@freebsd.org

You can reach the person managing the list at
	freebsd-current-owner@freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-current digest..."


Today's Topics:

   1. Re: Funky compile error with new gcc (Sergey Akifyev)
   2. CPUID maximum value (H. Sandring)
   3. centericq doesn't build on -current (Toxa)
   4. Re: Atomic operations on i386/amd64 (Garrett Wollman)
   5. "BTX Halted" on Toshiba Portege 3010 (Mike)
   6. Re: Remove no longer used files (Radek Kozlowski)
   7. [current tinderbox] failure on i386/pc98 (FreeBSD Tinderbox)
   8. Re: Remove no longer used files (Johan Pettersson)
   9. buildworld with MAKEOBJDIRPREFIX (Jun Kuriyama)
  10. [current tinderbox] failure on ia64/ia64 (FreeBSD Tinderbox)
  11. fix for oinit.c from picobsd/tinyware (Sergey Lyubka)
  12. Re: ath/ifstart panic: still, new fcntl panic.  ACPI still
      hangs (Robert Watson)
  13. world breakage? (M. Warner Losh)
  14. [current tinderbox] failure on powerpc/powerpc (FreeBSD Tinderbox)
  15. Re: cvs commit: src/sys/amd64/amd64 mp_machdep.c (Andrew Lankford)
  16. gcc 3.4.2 with -fmemoize-lookup and -fsave-memoized (Niclas)
  17. Re: gcc 3.4.2 with -fmemoize-lookup and -fsave-memoized
      (Scott Long)
  18. [current tinderbox] failure on sparc64/sparc64 (FreeBSD Tinderbox)
  19. Re: world breakage? (David Wolfskill)
  20. Re: gcc 3.4.2 with -fmemoize-lookup and -fsave-memoized (Niclas)
  21. Re: gcc 3.4.2 with -fmemoize-lookup and -fsave-memoized
      (Steve Kargl)
  22. Re: gcc 3.4.2 with -fmemoize-lookup and -fsave-memoized (Niclas)
  23. Re: Synaptics Driver Patch (new Version) (Arne Schwabe)
  24. panic: mutex vr0 not owned at ...if_vr.c:571 when doing
      ifconfig (Andreas Kohn)
  25. Need help: buildworld for CURRENT while under STABLE is not
      working (Michael C. Shultz)
  26. panic in 5.2-CURRENT-20040807-SESNAP (Rostislav Krasny)


----------------------------------------------------------------------

Message: 1
Date: Fri, 06 Aug 2004 12:05:30 +0400
From: Sergey Akifyev <asa@gascom.ru>
Subject: Re: Funky compile error with new gcc
To: Michael Nottebrock <michaelnottebrock@gmx.net>
Cc: freebsd-current@freebsd.org
Message-ID: <1091779530.56933.550.camel@asa.gascom.net.ru>
Content-Type: text/plain; charset="us-ascii"

On Sat, 2004-07-31 at 02:05, Michael Nottebrock wrote:
> On Friday 30 July 2004 22:22, Marcel Moolenaar wrote:
> 
> > You probably want to use the C++ driver for the link
> 
> Aah, of course! Already committed, thanks for the hint!

I didn't have internet access during this discussion, and didn't even
see new GCC yet... Anyway, thanks for fixing this.

-- 
regards,
Sergey Akifyev <asa@gascom.ru>
JSC Gascom <http://www.gascom.ru>
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040806/47062b28/attachment-0001.bin

------------------------------

Message: 2
Date: Fri, 6 Aug 2004 16:47:51 +0800
From: "H. Sandring" <h.sandring@gmx.net>
Subject: CPUID maximum value
To: <freebsd-current@freebsd.org>, <freebsd-questions@freebsd.org>,
	<Freebsd-stable@freebsd.org>
Message-ID: <001a01c47b92$11e18310$0501a8c0@kojo>
Content-Type: text/plain;	charset="us-ascii"

Dear list
 
Should CPUID maximum value be limited to 3 for FreeBSD 4.x?
How is it with FreeBSD 5x?
 
TIA
 
zheyu
 
 

------------------------------

Message: 3
Date: Fri, 6 Aug 2004 12:53:44 +0400
From: Toxa <postfix@senmail.ru>
Subject: centericq doesn't build on -current
To: ports@freebsd.org
Cc: current@freebsd.org
Message-ID: <20040806085344.GA45596@laptoxa.toxa.lan>
Content-Type: text/plain; charset="koi8-r"

world from aug, 4

-- 
Anton A. Karpov

-------------- next part --------------
gmake[5]: Entering directory `/usr/ports/net/centericq/work/centericq-4.11.0/libicq2000-0.1/src'
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libicq2000    -I/usr/local/include -c ContactTree.cpp
In file included from ../libicq2000/Contact.h:29,
                 from ../libicq2000/ContactTree.h:30,
                 from ContactTree.cpp:22:
./libicq2000/sigslot.h: In constructor `sigslot::_connection0<dest_type, mt_policy>::_connection0()':
./libicq2000/sigslot.h:748: error: `pobject' undeclared (first use this function)
./libicq2000/sigslot.h:748: error: (Each undeclared identifier is reported only once for each function it appears in.)
./libicq2000/sigslot.h:749: error: `pmemfun' undeclared (first use this function)
./libicq2000/sigslot.h: In constructor `sigslot::_connection1<dest_type, arg1_type, mt_policy>::_connection1()':
./libicq2000/sigslot.h:789: error: `pobject' undeclared (first use this function)
./libicq2000/sigslot.h:790: error: `pmemfun' undeclared (first use this function)
./libicq2000/sigslot.h: In constructor `sigslot::_connection2<dest_type, arg1_type, arg2_type, mt_policy>::_connection2()':
./libicq2000/sigslot.h:830: error: `pobject' undeclared (first use this function)
./libicq2000/sigslot.h:831: error: `pmemfun' undeclared (first use this function)
./libicq2000/sigslot.h: In member function `void sigslot::signal0<mt_policy>::connect(dest_type*, void (dest_type::*)())':
./libicq2000/sigslot.h:892: error: `m_connected_slots' undeclared (first use this function)
./libicq2000/sigslot.h: In member function `void sigslot::signal0<mt_policy>::connect(sigslot::signal0<mt_policy>&)':
./libicq2000/sigslot.h:900: error: `m_connected_slots' undeclared (first use this function)
./libicq2000/sigslot.h: In member function `void sigslot::signal0<mt_policy>::emit()':
./libicq2000/sigslot.h:907: error: `connections_list' has not been declared
./libicq2000/sigslot.h:907: error: `const_iterator' does not name a type
./libicq2000/sigslot.h:908: error: `connections_list' has not been declared
./libicq2000/sigslot.h:908: error: `const_iterator' does not name a type
./libicq2000/sigslot.h:910: error: `it' undeclared (first use this function)
./libicq2000/sigslot.h:910: error: `itEnd' undeclared (first use this function)
./libicq2000/sigslot.h:912: error: `itNext' undeclared (first use this function)
./libicq2000/sigslot.h: In member function `void sigslot::signal0<mt_policy>::operator()()':
./libicq2000/sigslot.h:924: error: `connections_list' has not been declared
./libicq2000/sigslot.h:924: error: `const_iterator' does not name a type
./libicq2000/sigslot.h:925: error: `connections_list' has not been declared
./libicq2000/sigslot.h:925: error: `const_iterator' does not name a type
./libicq2000/sigslot.h:927: error: `it' undeclared (first use this function)
./libicq2000/sigslot.h:927: error: `itEnd' undeclared (first use this function)
./libicq2000/sigslot.h:929: error: `itNext' undeclared (first use this function)
./libicq2000/sigslot.h: In member function `void sigslot::signal1<arg1_type, mt_policy>::connect(dest_type*, void (dest_type::*)(arg1_type))':
./libicq2000/sigslot.h:960: error: `m_connected_slots' undeclared (first use this function)
./libicq2000/sigslot.h: In member function `void sigslot::signal1<arg1_type, mt_policy>::connect(sigslot::signal1<arg1_type, mt_policy>&)':
./libicq2000/sigslot.h:968: error: `m_connected_slots' undeclared (first use this function)
./libicq2000/sigslot.h: In member function `void sigslot::signal1<arg1_type, mt_policy>::emit(arg1_type)':
./libicq2000/sigslot.h:975: error: `connections_list' has not been declared
./libicq2000/sigslot.h:975: error: `const_iterator' does not name a type
./libicq2000/sigslot.h:976: error: `connections_list' has not been declared
./libicq2000/sigslot.h:976: error: `const_iterator' does not name a type
./libicq2000/sigslot.h:978: error: `it' undeclared (first use this function)
./libicq2000/sigslot.h:978: error: `itEnd' undeclared (first use this function)
./libicq2000/sigslot.h:980: error: `itNext' undeclared (first use this function)
./libicq2000/sigslot.h: In member function `void sigslot::signal1<arg1_type, mt_policy>::operator()(arg1_type)':
./libicq2000/sigslot.h:992: error: `connections_list' has not been declared
./libicq2000/sigslot.h:992: error: `const_iterator' does not name a type
./libicq2000/sigslot.h:993: error: `connections_list' has not been declared
./libicq2000/sigslot.h:993: error: `const_iterator' does not name a type
./libicq2000/sigslot.h:995: error: `it' undeclared (first use this function)
./libicq2000/sigslot.h:995: error: `itEnd' undeclared (first use this function)
./libicq2000/sigslot.h:997: error: `itNext' undeclared (first use this function)
./libicq2000/sigslot.h: In member function `void sigslot::signal2<arg1_type, arg2_type, mt_policy>::connect(dest_type*, void (dest_type::*)(arg1_type, arg2_type))':
./libicq2000/sigslot.h:1028: error: `m_connected_slots' undeclared (first use this function)
./libicq2000/sigslot.h: In member function `void sigslot::signal2<arg1_type, arg2_type, mt_policy>::connect(sigslot::signal2<arg1_type, arg2_type, mt_policy>&)':
./libicq2000/sigslot.h:1036: error: `m_connected_slots' undeclared (first use this function)
./libicq2000/sigslot.h: In member function `void sigslot::signal2<arg1_type, arg2_type, mt_policy>::emit(arg1_type, arg2_type)':
./libicq2000/sigslot.h:1043: error: `connections_list' has not been declared
./libicq2000/sigslot.h:1043: error: `const_iterator' does not name a type
./libicq2000/sigslot.h:1044: error: `connections_list' has not been declared
./libicq2000/sigslot.h:1044: error: `const_iterator' does not name a type
./libicq2000/sigslot.h:1046: error: `it' undeclared (first use this function)
./libicq2000/sigslot.h:1046: error: `itEnd' undeclared (first use this function)
./libicq2000/sigslot.h:1048: error: `itNext' undeclared (first use this function)
./libicq2000/sigslot.h: In member function `void sigslot::signal2<arg1_type, arg2_type, mt_policy>::operator()(arg1_type, arg2_type)':
./libicq2000/sigslot.h:1060: error: `connections_list' has not been declared
./libicq2000/sigslot.h:1060: error: `const_iterator' does not name a type
./libicq2000/sigslot.h:1061: error: `connections_list' has not been declared
./libicq2000/sigslot.h:1061: error: `const_iterator' does not name a type
./libicq2000/sigslot.h:1063: error: `it' undeclared (first use this function)
./libicq2000/sigslot.h:1063: error: `itEnd' undeclared (first use this function)
./libicq2000/sigslot.h:1065: error: `itNext' undeclared (first use this function)
gmake[5]: *** [ContactTree.o] ������ 1
gmake[5]: Leaving directory `/usr/ports/net/centericq/work/centericq-4.11.0/libicq2000-0.1/src'
gmake[4]: *** [all-recursive] ������ 1
gmake[4]: Leaving directory `/usr/ports/net/centericq/work/centericq-4.11.0/libicq2000-0.1/src'
gmake[3]: *** [all-recursive] ������ 1
gmake[3]: Leaving directory `/usr/ports/net/centericq/work/centericq-4.11.0/libicq2000-0.1'
gmake[2]: *** [all-recursive-am] ������ 2
gmake[2]: Leaving directory `/usr/ports/net/centericq/work/centericq-4.11.0/libicq2000-0.1'
gmake[1]: *** [all-recursive] ������ 1
gmake[1]: Leaving directory `/usr/ports/net/centericq/work/centericq-4.11.0'
gmake: *** [all-recursive-am] ������ 2
*** Error code 2

Stop in /usr/ports/net/centericq.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade39616.4 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
	! net/centericq (centericq-4.10.0_1)	(compiler error)
--->  Packages processed: 0 done, 4 ignored, 0 skipped and 1 failed

------------------------------

Message: 4
Date: Fri, 6 Aug 2004 14:50:12 -0400 (EDT)
From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Subject: Re: Atomic operations on i386/amd64
To: Ville-Pertti Keinonen <will+freebsd-current@will.iki.fi>
Cc: current@FreeBSD.org
Message-ID: <200408061850.i76IoCgJ018008@khavrinen.lcs.mit.edu>

<<On Fri, 06 Aug 2004 11:29:57 +0300, Ville-Pertti Keinonen <will+freebsd-current@will.iki.fi> said:

> The idea of using self-modification to select locking modes (although 
> for optional preemption, SMP and debugging rather than CPU model) is 
> also described in a DEC Technical Journal article:

> http://research.compaq.com/wrl/DECarchives/DTJ/DTJF03/DTJF03SC.TXT

There have been a number of research operating systems built around
this concept.  I seem to remember one called "Synthesis" which took it
to an extreme.  Calton Pu and Henry Massalin would appear to be the
authors.

-GAWollman


------------------------------

Message: 5
Date: Sat, 7 Aug 2004 03:00:46 -0500
From: "Mike" <mspam@www.ideaway.net>
Subject: "BTX Halted" on Toshiba Portege 3010
To: freebsd-current@freebsd.org
Message-ID: <20040807080046.M43382@www.ideaway.net>
Content-Type: text/plain; charset=iso-8859-1

Taking a hard drive from a working install of almost -current
and placing it into the Portege 3010 shows a dump of reg
values and the message "BTX Halted".  This happens shortly
after typing /boot/loader <enter> at the boot: prompt;
moments later the machine reboots.
Googling points at playing with DMA/PIO options in the BIOS
until the message goes away - there are no such options in
the Portege's BIOS, but I've pretty much tweaked every
setting that there is, and the results are exactly the same.
I've also found some posts of freebsd 3.x supposedly working
with this machine.  So...  was something broken along the
way, was support removed, or is there something I am missing
which will allow me to boot this machine into 5-current?
Mike


------------------------------

Message: 6
Date: Sat, 7 Aug 2004 14:17:24 +0200
From: Radek Kozlowski <radek@raadradd.com>
Subject: Re: Remove no longer used files
To: Johan Pettersson <manlix@demonized.net>
Cc: freebsd-current@freebsd.org
Message-ID: <20040807121724.GD55186@werd>
Content-Type: text/plain; charset=iso-8859-2

On Sat, Aug 07, 2004 at 01:12:16PM +0200, Johan Pettersson wrote:
> Is there any safe method to find and remove files no longer included in
> the base system? I can think latest gdb and gcc upgrades leaves a
> lot of files not used anymore.

There was a similar thread on hackers@ not so long ago, have a look
here:
http://lists.freebsd.org/pipermail/freebsd-hackers/2004-July/007673.html

-Radek

------------------------------

Message: 7
Date: Sat,  7 Aug 2004 08:34:24 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on i386/pc98
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
	<i386@freebsd.org>
Message-ID: <20040807123424.DC96F7303F@freebsd-current.sentex.ca>

TB --- 2004-08-07 11:27:03 - tinderbox 2.3 running on freebsd-current.sentex.ca
TB --- 2004-08-07 11:27:03 - starting CURRENT tinderbox run for i386/pc98
TB --- 2004-08-07 11:27:03 - checking out the source tree
TB --- 2004-08-07 11:27:03 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98
TB --- 2004-08-07 11:27:03 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src
TB --- 2004-08-07 11:32:50 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-08-07 11:32:50 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98/src
TB --- 2004-08-07 11:32:50 - /usr/bin/make -B buildworld
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
[...]
===> usr.sbin/pciconf
cc -O2 -pipe  -I/tinderbox/CURRENT/i386/pc98/src/usr.sbin/pciconf/../../sys  -c /tinderbox/CURRENT/i386/pc98/src/usr.sbin/pciconf/pciconf.c
/tinderbox/CURRENT/i386/pc98/src/usr.sbin/pciconf/pciconf.c: In function `main':
/tinderbox/CURRENT/i386/pc98/src/usr.sbin/pciconf/pciconf.c:143: error: syntax error before "usage"
/tinderbox/CURRENT/i386/pc98/src/usr.sbin/pciconf/pciconf.c: In function `dobar':
/tinderbox/CURRENT/i386/pc98/src/usr.sbin/pciconf/pciconf.c:518: error: `next' undeclared (first use in this function)
/tinderbox/CURRENT/i386/pc98/src/usr.sbin/pciconf/pciconf.c:518: error: (Each undeclared identifier is reported only once
/tinderbox/CURRENT/i386/pc98/src/usr.sbin/pciconf/pciconf.c:518: error: for each function it appears in.)
*** Error code 1

Stop in /tinderbox/CURRENT/i386/pc98/src/usr.sbin/pciconf.
*** Error code 1

Stop in /tinderbox/CURRENT/i386/pc98/src/usr.sbin.
*** Error code 1

Stop in /tinderbox/CURRENT/i386/pc98/src.
*** Error code 1

Stop in /tinderbox/CURRENT/i386/pc98/src.
*** Error code 1

Stop in /tinderbox/CURRENT/i386/pc98/src.
TB --- 2004-08-07 12:34:24 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-08-07 12:34:24 - ERROR: failed to build world
TB --- 2004-08-07 12:34:24 - tinderbox aborted


------------------------------

Message: 8
Date: Sat, 7 Aug 2004 15:06:02 +0200
From: Johan Pettersson <manlix@demonized.net>
Subject: Re: Remove no longer used files
To: Radek Kozlowski <radek@raadradd.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040807150602.137cb670.manlix@demonized.net>
Content-Type: text/plain; charset=US-ASCII

On Sat, 7 Aug 2004 14:17:24 +0200
Radek Kozlowski <radek@raadradd.com> wrote:

> On Sat, Aug 07, 2004 at 01:12:16PM +0200, Johan Pettersson wrote:
> > Is there any safe method to find and remove files no longer included
> > in the base system? I can think latest gdb and gcc upgrades leaves a
> > lot of files not used anymore.
> 
> There was a similar thread on hackers@ not so long ago, have a look
> here:
> http://lists.freebsd.org/pipermail/freebsd-hackers/2004-July/007673.html
> 
> -Radek

Yes. Thanks.

http://lists.freebsd.org/pipermail/freebsd-hackers/2004-July/007763.html

That is what I mean. Warner Losh? Have you created something that
removes obsoleted files? :)

------------------------------

Message: 9
Date: Sat, 07 Aug 2004 22:06:31 +0900
From: Jun Kuriyama <kuriyama@imgsrc.co.jp>
Subject: buildworld with MAKEOBJDIRPREFIX
To: Current <freebsd-current@FreeBSD.org>
Message-ID: <7m4qnfm71k.wl@black.imgsrc.co.jp>
Content-Type: text/plain; charset=US-ASCII


Since yesterday, my nightly buildworld is failing...

--------------------------------------------------------------
>>> stage 1.1: legacy release compatibility shims
--------------------------------------------------------------
cd /work/HEAD/src; MAKEOBJDIRPREFIX=/work/HEAD/obj/work/HEAD/src/i386  DESTDIR=  INSTALL="sh /work/HEAD/src/tools/install.sh"  PATH=/work/HEAD/obj/work/HEAD/src/i386/legacy/usr/sbin:/work/HEAD/obj/work/HEAD/src/i386/legacy/usr/bin:/work/HEAD/obj/work/HEAD/src/i386/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin  WORLDTMP=/work/HEAD/obj/work/HEAD/src/i386  MAKEFLAGS="-m /work/HEAD/src/tools/build/mk  -m /work/HEAD/src/share/mk MAKEOBJDIRPREFIX=/work/HEAD/obj OSRELDATE=500110" /work/HEAD/obj/work/HEAD/src/make.i386/make -f Makefile.inc1  BOOTSTRAPPING=500110  -DNOHTML -DNOINFO -DNOLINT -DNOMAN -DNOPIC -DNOPROFILE  -DNOSHARED -DNO_CPU_CFLAGS -DNO_WARNS legacy
===> tools/build
cd /work/HEAD/src/tools/build; /work/HEAD/obj/work/HEAD/src/make.i386/make buildincludes; /work/HEAD/obj/work/HEAD/src/make.i386/make installincludes
sh /work/HEAD/src/tools/install.sh -C -o root -g wheel -m 444  /work/HEAD/src/tools/build/../../include/getopt.h /work/HEAD/obj/legacy/usr/include
install: /work/HEAD/obj/legacy/usr/include: No such file or directory
*** Error code 71

Stop in /work/HEAD/src/tools/build.
*** Error code 1

Stop in /work/HEAD/src/tools/build.
*** Error code 1


-- 
Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama@FreeBSD.org> // FreeBSD Project

------------------------------

Message: 10
Date: Sat,  7 Aug 2004 09:40:10 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on ia64/ia64
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
	<ia64@freebsd.org>
Message-ID: <20040807134010.8521C7303F@freebsd-current.sentex.ca>

TB --- 2004-08-07 12:34:25 - tinderbox 2.3 running on freebsd-current.sentex.ca
TB --- 2004-08-07 12:34:25 - starting CURRENT tinderbox run for ia64/ia64
TB --- 2004-08-07 12:34:25 - cleaning the sandbox
TB --- 2004-08-07 12:35:35 - checking out the source tree
TB --- 2004-08-07 12:35:35 - cd /home/tinderbox/sandbox/CURRENT/ia64/ia64
TB --- 2004-08-07 12:35:35 - /usr/bin/cvs -f -R -Q -d/home/ncvs checkout -P -A src
TB --- 2004-08-07 12:43:18 - WARNING: /home/tinderbox/sandbox/ia64.diff does not exist
TB --- 2004-08-07 12:43:18 - building world (CFLAGS=-O -pipe)
TB --- 2004-08-07 12:43:18 - cd /home/tinderbox/sandbox/CURRENT/ia64/ia64/src
TB --- 2004-08-07 12:43:18 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
[...]
===> usr.sbin/pciconf
cc -O -pipe  -I/tinderbox/CURRENT/ia64/ia64/src/usr.sbin/pciconf/../../sys  -c /tinderbox/CURRENT/ia64/ia64/src/usr.sbin/pciconf/pciconf.c
/tinderbox/CURRENT/ia64/ia64/src/usr.sbin/pciconf/pciconf.c: In function `main':
/tinderbox/CURRENT/ia64/ia64/src/usr.sbin/pciconf/pciconf.c:143: error: syntax error before "usage"
/tinderbox/CURRENT/ia64/ia64/src/usr.sbin/pciconf/pciconf.c: In function `dobar':
/tinderbox/CURRENT/ia64/ia64/src/usr.sbin/pciconf/pciconf.c:518: error: `next' undeclared (first use in this function)
/tinderbox/CURRENT/ia64/ia64/src/usr.sbin/pciconf/pciconf.c:518: error: (Each undeclared identifier is reported only once
/tinderbox/CURRENT/ia64/ia64/src/usr.sbin/pciconf/pciconf.c:518: error: for each function it appears in.)
*** Error code 1

Stop in /tinderbox/CURRENT/ia64/ia64/src/usr.sbin/pciconf.
*** Error code 1

Stop in /tinderbox/CURRENT/ia64/ia64/src/usr.sbin.
*** Error code 1

Stop in /tinderbox/CURRENT/ia64/ia64/src.
*** Error code 1

Stop in /tinderbox/CURRENT/ia64/ia64/src.
*** Error code 1

Stop in /tinderbox/CURRENT/ia64/ia64/src.
TB --- 2004-08-07 13:40:10 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-08-07 13:40:10 - ERROR: failed to build world
TB --- 2004-08-07 13:40:10 - tinderbox aborted


------------------------------

Message: 11
Date: Sat, 7 Aug 2004 16:53:05 +0300
From: Sergey Lyubka <devnull@uptsoft.com>
Subject: fix for oinit.c from picobsd/tinyware
To: freebsd-current@freebsd.org
Message-ID: <20040807165305.A23636@oasis.uptsoft.com>
Content-Type: text/plain; charset=us-ascii

--- src/release/picobsd/tinyware/oinit/oinit.c.orig     Thu Aug  7 14:48:24 2003
+++ src/release/picobsd/tinyware/oinit/oinit.c  Thu Aug  7 14:48:55 2003
@@ -54,7 +54,7 @@
 #include <string.h>
 #include <syslog.h>
 #include <unistd.h>
-#include <varargs.h>
+#include <stdarg.h>
 
 #define BUFSIZE 1024
 #define MAX_CONS 12


------------------------------

Message: 12
Date: Sat, 7 Aug 2004 10:01:39 -0400 (EDT)
From: Robert Watson <rwatson@freebsd.org>
Subject: Re: ath/ifstart panic: still, new fcntl panic.  ACPI still
	hangs
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: current@freebsd.org
Message-ID:
	<Pine.NEB.3.96L.1040807100106.69157I-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Sat, 7 Aug 2004, Poul-Henning Kamp wrote:

> IBM Thinkpad T41p, -current from one hour ago.
> 
> The Ath/if_start problem is still there (I have got sams commit).
> 
> New one, looks like rwatsons baby:
> 	Giant owned
> 	mtx_assert
> 	kern_fcntl
> 	fcntl_common
> 	linux_fcntl
> 	syscall(linux_fcntl64)
> 
> And without the CD drive installed my laptop still wedges solid if I
> press the ACPI sleep button.  This works perfectly if the CD drive is
> installed. 

Doh.  We probably need to comment out all the assertions that Giant isn't
owned in kern_fcntl() due to wrapping by ABIs.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Principal Research Scientist, McAfee Research



------------------------------

Message: 13
Date: Sat, 07 Aug 2004 08:15:36 -0600 (MDT)
From: "M. Warner Losh" <imp@bsdimp.com>
Subject: world breakage?
To: current@freebsd.org
Message-ID: <20040807.081536.72687734.imp@bsdimp.com>
Content-Type: Text/Plain; charset=us-ascii

With sources from last night (approx 0300 UTC)

===> lib/libcom_err/doc
cc -O -pipe  -I/dell/imp/FreeBSD/src/lib/libcom_err/../../contrib/com_err  -c /dell/imp/FreeBSD/src/lib/libcom_err/../../contrib/com_err/com_err.c
cc -O -pipe  -I/dell/imp/FreeBSD/src/lib/libcom_err/../../contrib/com_err  -c /dell/imp/FreeBSD/src/lib/libcom_err/../../contrib/com_err/error.c
building static com_err library
ranlib libcom_err.a
cc -fpic -DPIC -O -pipe  -I/dell/imp/FreeBSD/src/lib/libcom_err/../../contrib/com_err  -c /dell/imp/FreeBSD/src/lib/libcom_err/../../contrib/com_err/com_err.c -o com_err.So
cc -fpic -DPIC -O -pipe  -I/dell/imp/FreeBSD/src/lib/libcom_err/../../contrib/com_err  -c /dell/imp/FreeBSD/src/lib/libcom_err/../../contrib/com_err/error.c -o error.So
building shared library libcom_err.so.2
/dell/imp/obj/dell/imp/FreeBSD/src/i386/usr/bin/ld: cannot find -lgcc_pic
*** Error code 1

Has anybody else seen this?

Warner

------------------------------

Message: 14
Date: Sat,  7 Aug 2004 10:35:41 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on powerpc/powerpc
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
	<powerpc@freebsd.org>
Message-ID: <20040807143541.624507303F@freebsd-current.sentex.ca>

TB --- 2004-08-07 13:40:10 - tinderbox 2.3 running on freebsd-current.sentex.ca
TB --- 2004-08-07 13:40:10 - starting CURRENT tinderbox run for powerpc/powerpc
TB --- 2004-08-07 13:40:10 - cleaning the sandbox
TB --- 2004-08-07 13:41:21 - checking out the source tree
TB --- 2004-08-07 13:41:21 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerpc
TB --- 2004-08-07 13:41:21 - /usr/bin/cvs -f -R -Q -d/home/ncvs checkout -P -A src
TB --- 2004-08-07 13:49:18 - patching the sources
TB --- 2004-08-07 13:49:18 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerpc/src
TB --- 2004-08-07 13:49:18 - /usr/bin/patch -f -s -i/home/tinderbox/sandbox/powerpc.diff
TB --- 2004-08-07 13:49:18 - building world (CFLAGS=-O -pipe)
TB --- 2004-08-07 13:49:18 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerpc/src
TB --- 2004-08-07 13:49:18 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
[...]
===> usr.sbin/pciconf
cc -O -pipe  -I/tinderbox/CURRENT/powerpc/powerpc/src/usr.sbin/pciconf/../../sys  -c /tinderbox/CURRENT/powerpc/powerpc/src/usr.sbin/pciconf/pciconf.c
/tinderbox/CURRENT/powerpc/powerpc/src/usr.sbin/pciconf/pciconf.c: In function `main':
/tinderbox/CURRENT/powerpc/powerpc/src/usr.sbin/pciconf/pciconf.c:143: error: syntax error before "usage"
/tinderbox/CURRENT/powerpc/powerpc/src/usr.sbin/pciconf/pciconf.c: In function `dobar':
/tinderbox/CURRENT/powerpc/powerpc/src/usr.sbin/pciconf/pciconf.c:518: error: `next' undeclared (first use in this function)
/tinderbox/CURRENT/powerpc/powerpc/src/usr.sbin/pciconf/pciconf.c:518: error: (Each undeclared identifier is reported only once
/tinderbox/CURRENT/powerpc/powerpc/src/usr.sbin/pciconf/pciconf.c:518: error: for each function it appears in.)
*** Error code 1

Stop in /tinderbox/CURRENT/powerpc/powerpc/src/usr.sbin/pciconf.
*** Error code 1

Stop in /tinderbox/CURRENT/powerpc/powerpc/src/usr.sbin.
*** Error code 1

Stop in /tinderbox/CURRENT/powerpc/powerpc/src.
*** Error code 1

Stop in /tinderbox/CURRENT/powerpc/powerpc/src.
*** Error code 1

Stop in /tinderbox/CURRENT/powerpc/powerpc/src.
TB --- 2004-08-07 14:35:41 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-08-07 14:35:41 - ERROR: failed to build world
TB --- 2004-08-07 14:35:41 - tinderbox aborted


------------------------------

Message: 15
Date: Sat, 7 Aug 2004 10:12:36 -0500
From: Andrew Lankford <andrew.lankford@verizon.net>
Subject: Re: cvs commit: src/sys/amd64/amd64 mp_machdep.c
To: Scott Long <scottl@samsco.org>
Cc: current@freebsd.org
Message-ID:
	<20040807151236.KGOU1210.out007.verizon.net@outgoing.verizon.net>
Content-Type: text/plain; charset="iso-8859-1"

>I just fixed this.  Thanks for sending your kernel config.  >Note that you probably shouldn't remove the acpi driver from
>the kernel config since it's practically mandatory on amd64 
>and won't load correctly from the bootloader.
>
>Scott

I rebuilt my kernel with mem and io disabled, and it worked,
thanks.  Unfortunately (as I suspected from a few
messages on amd64@freebsd.org, compiling in acpi 
didn't help matters.  If I disable acpi from the loader menu,
(surprising, since I thought that item only applied to acpi.ko) I can get all the way to a login screen.  If I 
leave it enabled, the system locks up when it tries to run
/sbin/init.

I neglected to mention earlier that I can only boot sucessfully because part of a patch to test_kbd_port in atkbdc.c, featured in PR# amd64/67745 (many thanks,
 Jung-uk Kim).  I don't know if that has anything to do
 with acpi or other annoyances, but "in the interests
 of full disclosure"...

Attached is a (successful) bootup with acpi disabled.

Thanks

Andrew Lankford

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.latest
Type: application/octet-stream
Size: 22665 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040807/fe3b6593/dmesg-0001.obj

------------------------------

Message: 16
Date: Sat, 07 Aug 2004 15:15:05 +0200
From: Niclas <lothrandil@n00b.apagnu.se>
Subject: gcc 3.4.2 with -fmemoize-lookup and -fsave-memoized
To: freebsd-current@freebsd.org
Message-ID: <4114D5D9.5000400@n00b.apagnu.se>
Content-Type: text/plain; charset=us-ascii; format=flowed

Hi!
I tried to upgrade my system from 5.2.1 to current a couple of hours 
ago. The build died yelling about unrecognized command line options 
-fmemoize-lookup and -fsave-memoized. It seems that those options is 
removed, and some more investigation seemed to prove that.
Now I'm just wondering, are those options really removed, or am I just 
being stupid and overlooking something? If they are removed, shouldn't 
they be removed from src/share/examples/etc/make.conf be removed as well 
so nobody uses them?

Cheers!
//Niclas
-- 

------------------------------

Message: 17
Date: Sat, 07 Aug 2004 09:22:23 -0600
From: Scott Long <scottl@samsco.org>
Subject: Re: gcc 3.4.2 with -fmemoize-lookup and -fsave-memoized
To: Niclas <lothrandil@n00b.apagnu.se>
Cc: freebsd-current@freebsd.org
Message-ID: <4114F3AF.4030708@samsco.org>
Content-Type: text/plain; charset=us-ascii; format=flowed

Niclas wrote:
> Hi!
> I tried to upgrade my system from 5.2.1 to current a couple of hours 
> ago. The build died yelling about unrecognized command line options 
> -fmemoize-lookup and -fsave-memoized. It seems that those options is 
> removed, and some more investigation seemed to prove that.
> Now I'm just wondering, are those options really removed, or am I just 
> being stupid and overlooking something? If they are removed, shouldn't 
> they be removed from src/share/examples/etc/make.conf be removed as well 
> so nobody uses them?
> 
> Cheers!
> //Niclas

How exactly are you doing your upgrade?

Scott

------------------------------

Message: 18
Date: Sat,  7 Aug 2004 11:28:09 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on sparc64/sparc64
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
	<sparc64@freebsd.org>
Message-ID: <20040807152809.2CA287303F@freebsd-current.sentex.ca>

TB --- 2004-08-07 14:35:41 - tinderbox 2.3 running on freebsd-current.sentex.ca
TB --- 2004-08-07 14:35:41 - starting CURRENT tinderbox run for sparc64/sparc64
TB --- 2004-08-07 14:35:41 - cleaning the sandbox
TB --- 2004-08-07 14:36:37 - checking out the source tree
TB --- 2004-08-07 14:36:37 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc64
TB --- 2004-08-07 14:36:37 - /usr/bin/cvs -f -R -Q -d/home/ncvs checkout -P -A src
TB --- 2004-08-07 14:43:50 - WARNING: /home/tinderbox/sandbox/sparc64.diff does not exist
TB --- 2004-08-07 14:43:50 - building world (CFLAGS=-O -pipe)
TB --- 2004-08-07 14:43:50 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc64/src
TB --- 2004-08-07 14:43:50 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
[...]
===> usr.sbin/pciconf
cc -O -pipe  -I/tinderbox/CURRENT/sparc64/sparc64/src/usr.sbin/pciconf/../../sys  -c /tinderbox/CURRENT/sparc64/sparc64/src/usr.sbin/pciconf/pciconf.c
/tinderbox/CURRENT/sparc64/sparc64/src/usr.sbin/pciconf/pciconf.c: In function `main':
/tinderbox/CURRENT/sparc64/sparc64/src/usr.sbin/pciconf/pciconf.c:143: error: syntax error before "usage"
/tinderbox/CURRENT/sparc64/sparc64/src/usr.sbin/pciconf/pciconf.c: In function `dobar':
/tinderbox/CURRENT/sparc64/sparc64/src/usr.sbin/pciconf/pciconf.c:518: error: `next' undeclared (first use in this function)
/tinderbox/CURRENT/sparc64/sparc64/src/usr.sbin/pciconf/pciconf.c:518: error: (Each undeclared identifier is reported only once
/tinderbox/CURRENT/sparc64/sparc64/src/usr.sbin/pciconf/pciconf.c:518: error: for each function it appears in.)
*** Error code 1

Stop in /tinderbox/CURRENT/sparc64/sparc64/src/usr.sbin/pciconf.
*** Error code 1

Stop in /tinderbox/CURRENT/sparc64/sparc64/src/usr.sbin.
*** Error code 1

Stop in /tinderbox/CURRENT/sparc64/sparc64/src.
*** Error code 1

Stop in /tinderbox/CURRENT/sparc64/sparc64/src.
*** Error code 1

Stop in /tinderbox/CURRENT/sparc64/sparc64/src.
TB --- 2004-08-07 15:28:08 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-08-07 15:28:08 - ERROR: failed to build world
TB --- 2004-08-07 15:28:08 - tinderbox aborted


------------------------------

Message: 19
Date: Sat, 7 Aug 2004 08:30:48 -0700 (PDT)
From: David Wolfskill <david@catwhisker.org>
Subject: Re: world breakage?
To: current@freebsd.org
Message-ID: <200408071530.i77FUmlV069335@bunrab.catwhisker.org>

>Date: Sat, 07 Aug 2004 08:15:36 -0600 (MDT)
>To: current@freebsd.org
>From: "M. Warner Losh" <imp@bsdimp.com>
>Subject: world breakage?
>Sender: owner-freebsd-current@freebsd.org

>With sources from last night (approx 0300 UTC)

>===> lib/libcom_err/doc
>...
>cc -fpic -DPIC -O -pipe  -I/dell/imp/FreeBSD/src/lib/libcom_err/../../contrib/com_err  -c /dell/imp/FreeBSD/src/lib/libcom_err/../../contrib/com_err/error.c -o error.So
>building shared library libcom_err.so.2
>/dell/imp/obj/dell/imp/FreeBSD/src/i386/usr/bin/ld: cannot find -lgcc_pic
>*** Error code 1

>Has anybody else seen this?

Not here.  Had typos in src/usr.sbin/mtree specspec.c and
src/usr.sbin/pciconf pciconf.c (fixes already committed by Hidetoshi
Shimokawa and Lukas Ertl, respectively), with local CVS repo updated:

freebeast(5.2-C)[7] tail /var/log/cvsup-history.log
CVSup begin from cvsup14.freebsd.org at Thu Aug  5 03:47:04 PDT 2004
CVSup ended from cvsup14.freebsd.org at Thu Aug  5 03:52:28 PDT 2004
CVSup begin from cvsup12.freebsd.org at Fri Aug  6 01:47:15 PDT 2004
CVSup ended from cvsup12.freebsd.org at Fri Aug  6 01:53:25 PDT 2004
CVSup begin from cvsup14.freebsd.org at Fri Aug  6 03:47:03 PDT 2004
CVSup ended from cvsup14.freebsd.org at Fri Aug  6 03:52:17 PDT 2004
CVSup begin from cvsup12.freebsd.org at Sat Aug  7 01:47:15 PDT 2004
CVSup ended from cvsup12.freebsd.org at Sat Aug  7 01:54:10 PDT 2004
CVSup begin from cvsup14.freebsd.org at Sat Aug  7 03:47:02 PDT 2004
CVSup ended from cvsup14.freebsd.org at Sat Aug  7 03:53:38 PDT 2004
freebeast(5.2-C)[8] 

My build (on the SMP "build machine") is preswently in the "building
everything" phase of "make kernel" (having completed "make -j8
buildworld" without a lock-up this time).

Peace,
david
-- 
David H. Wolfskill				david@catwhisker.org
I do not "unsubscribe" from email "services" to which I have not explicitly
subscribed.  Rather, I block spammers' access to SMTP servers I control,
and encourage others who are in a position to do so to do likewise.

------------------------------

Message: 20
Date: Sat, 07 Aug 2004 15:37:57 +0200
From: Niclas <lothrandil@n00b.apagnu.se>
Subject: Re: gcc 3.4.2 with -fmemoize-lookup and -fsave-memoized
To: Scott Long <scottl@samsco.org>
Cc: freebsd-current@freebsd.org
Message-ID: <4114DB35.7040101@n00b.apagnu.se>
Content-Type: text/plain; charset=us-ascii; format=flowed

Scott Long wrote:

> Niclas wrote:
> 
>> Hi!
>> I tried to upgrade my system from 5.2.1 to current a couple of hours 
>> ago. The build died yelling about unrecognized command line options 
>> -fmemoize-lookup and -fsave-memoized. It seems that those options is 
>> removed, and some more investigation seemed to prove that.
>> Now I'm just wondering, are those options really removed, or am I just 
>> being stupid and overlooking something? If they are removed, shouldn't 
>> they be removed from src/share/examples/etc/make.conf be removed as 
>> well so nobody uses them?
>>
>> Cheers!
>> //Niclas
> 
> 
> How exactly are you doing your upgrade?
> 
> Scott
> 
I have put some options in /etc/make.conf, among others:
CPUTYPE=		p2
CFLAGS=			-O -pipe
CXXFLAGS+=		-fmemoize-lookups -fsave-memoized
COPTFLAGS=		-O -pipe

Then I cd to /usr/src and make buildworld. I don't know if it's the 
correct way of doing things when it's such big upgrade, but I couldn't 
find anything that said i should do diffrent either...

//Niclas

------------------------------

Message: 21
Date: Sat, 7 Aug 2004 08:42:36 -0700
From: Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject: Re: gcc 3.4.2 with -fmemoize-lookup and -fsave-memoized
To: Scott Long <scottl@samsco.org>
Cc: freebsd-current@freebsd.org
Message-ID: <20040807154236.GA26944@troutmask.apl.washington.edu>
Content-Type: text/plain; charset=us-ascii

On Sat, Aug 07, 2004 at 09:22:23AM -0600, Scott Long wrote:
> Niclas wrote:
> >Hi!
> >I tried to upgrade my system from 5.2.1 to current a couple of hours 
> >ago. The build died yelling about unrecognized command line options 
> >-fmemoize-lookup and -fsave-memoized. It seems that those options is 
> >removed, and some more investigation seemed to prove that.
> >Now I'm just wondering, are those options really removed, or am I just 
> >being stupid and overlooking something? If they are removed, shouldn't 
> >they be removed from src/share/examples/etc/make.conf be removed as well 
> >so nobody uses them?
> >
> >Cheers!
> >//Niclas
> 
> How exactly are you doing your upgrade?
> 

Niclas refers to src/share/examples/etc/make.conf, which suggests
that he has CXXFLAGS defined in /etc/make.conf.

>From src/share/examples/etc/make.con, we find

  # CXXFLAGS controls the compiler settings used when compiling C++ code.
  # Note that CXXFLAGS is initially set to the value of CFLAGS.  If you wish
  # to add to CXXFLAGS value, "+=" must be used rather than "=".  Using "="
  # alone will remove the often needed contents of CFLAGS from CXXFLAGS.
  #
  #CXXFLAGS+= -fmemoize-lookups -fsave-memoized

kargl[193] c++ -fmemoize-lookups -fsave-memoized a.c
cc1plus: error: unrecognized command line option "-fmemoize-lookups"
cc1plus: error: unrecognized command line option "-fsave-memoized"

-- 
Steve

------------------------------

Message: 22
Date: Sat, 07 Aug 2004 18:00:07 +0200
From: Niclas <lothrandil@n00b.apagnu.se>
Subject: Re: gcc 3.4.2 with -fmemoize-lookup and -fsave-memoized
To: Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc: freebsd-current@freebsd.org
Message-ID: <4114FC87.8060308@n00b.apagnu.se>
Content-Type: text/plain; charset=us-ascii; format=flowed

Steve Kargl wrote:

> On Sat, Aug 07, 2004 at 09:22:23AM -0600, Scott Long wrote:
> 
>>Niclas wrote:
>>
>>>Hi!
>>>I tried to upgrade my system from 5.2.1 to current a couple of hours 
>>>ago. The build died yelling about unrecognized command line options 
>>>-fmemoize-lookup and -fsave-memoized. It seems that those options is 
>>>removed, and some more investigation seemed to prove that.
>>>Now I'm just wondering, are those options really removed, or am I just 
>>>being stupid and overlooking something? If they are removed, shouldn't 
>>>they be removed from src/share/examples/etc/make.conf be removed as well 
>>>so nobody uses them?
>>>
>>>Cheers!
>>>//Niclas
>>
>>How exactly are you doing your upgrade?
>>
> 
> 
> Niclas refers to src/share/examples/etc/make.conf, which suggests
> that he has CXXFLAGS defined in /etc/make.conf.
> 
>>From src/share/examples/etc/make.con, we find
> 
>   # CXXFLAGS controls the compiler settings used when compiling C++ code.
>   # Note that CXXFLAGS is initially set to the value of CFLAGS.  If you wish
>   # to add to CXXFLAGS value, "+=" must be used rather than "=".  Using "="
>   # alone will remove the often needed contents of CFLAGS from CXXFLAGS.
>   #
>   #CXXFLAGS+= -fmemoize-lookups -fsave-memoized
> 
> kargl[193] c++ -fmemoize-lookups -fsave-memoized a.c
> cc1plus: error: unrecognized command line option "-fmemoize-lookups"
> cc1plus: error: unrecognized command line option "-fsave-memoized"
> 

That's what I was refering to. I'm sorry i wasn't clear enough, should 
have mentioned that too.

I also noticed my computer clock was of by 2 hours, so the time on my 
previous e-mails is wrong, hope it didn't cause confusions.

//Niclas

------------------------------

Message: 23
Date: Sat, 07 Aug 2004 19:11:28 +0200
From: Arne Schwabe <arne@rfc2549.org>
Subject: Re: Synaptics Driver Patch (new Version)
To: Peter Osterlund <petero2@telia.com>
Cc: freebsd-current@freebsd.org
Message-ID: <86u0veq3en.fsf@kamino.rfc1149.org>
Content-Type: text/plain; charset=us-ascii

Peter Osterlund <petero2@telia.com> writes:


>> > I'll try to merge this into the XFree86 driver, but I don't want to use
>> > the patch as is. I'd like to avoid #ifdef's and conditional compilation if
>> > possible. My unfinished changes can be found here:
>> >
>> > 	http://w1.894.telia.com/~u89404340/syn.tar.bz2
>> 
>> Okay let me hear If you got something, so I can test it.
>
> Now I have uploaded a new version to the same URL. You should set Protocol
> to "psm" in XF86Config to enable the FreeBSD psm driver protocol.
>
> Feedback is wanted, because I don't have a FreeBSD system to test on.

I am very sorry that I did not reply.
It works ;)

But since the synpatics support is now in FreeBSD-current kernel, the
ioctl change a little bit, patch is attached.

There is no need to support the older ioctl.

Arne


diff -ur synaptics-0.13.4/freebsd_mouse.h synaptics-0.13.4.freebsd-current/freebsd_mouse.h
--- synaptics-0.13.4/freebsd_mouse.h	Mon Jul 19 22:05:17 2004
+++ synaptics-0.13.4.freebsd-current/freebsd_mouse.h	Sun Aug  1 15:36:29 2004
@@ -23,11 +23,7 @@
 #define MOUSE_SETVARS        _IOW('M', 7, mousevar_t)
 #define MOUSE_READSTATE      _IOWR('M', 8, mousedata_t)
 #define MOUSE_READDATA       _IOWR('M', 9, mousedata_t)
-#define MOUSE_SYNGETHWINFO   _IOR('M', 10, synapticshw_t)
-
-#define MOUSE_SYNAPTICS_CMD	_IOW('M', 10, char)
-#define MOUSE_SYNAPTICS_INFO _IOW('M', 11, char)
-#define MOUSE_SYNAPTICS_ENABLE_PASSTHROUGH _IOW('M', 12, char)
+#define MOUSE_SYN_GETHWINFO  _IOR('M', 100, synapticshw_t)
 
 
 typedef struct synapticshw {
diff -ur synaptics-0.13.4/psmcomm.c synaptics-0.13.4.freebsd-current/psmcomm.c
--- synaptics-0.13.4/psmcomm.c	Mon Jul 19 22:05:17 2004
+++ synaptics-0.13.4.freebsd-current/psmcomm.c	Sun Aug  1 15:41:11 2004
@@ -45,7 +45,7 @@
 {
     int ret;
     
-    SYSCALL(ret = ioctl(fd, MOUSE_SYNGETHWINFO, ident));
+    SYSCALL(ret = ioctl(fd, MOUSE_SYN_GETHWINFO , ident));
     if (ret == 0)
 	return TRUE;
     else


-- 
compiling millions of tiny c-programs...done
checking for a working configure script... not found

------------------------------

Message: 24
Date: Sat, 7 Aug 2004 19:19:29 +0200 (MEST)
From: "Andreas Kohn" <andreas.kohn@gmx.net>
Subject: panic: mutex vr0 not owned at ...if_vr.c:571 when doing
	ifconfig
To: freebsd-current@freebsd.org
Message-ID: <18860.1091899169@www66.gmx.net>
Content-Type: text/plain; charset="us-ascii"

Hi,

with sources from earlier today, I get a panic when doing ifconfig (no
arguments):

panic
_mtx_assert
vr_setcfg
vr_miibus_statchg
miibus_statchg
mii_phy_update
ukphy_service
mii_pollstat
vr_ifmedia_sts
ifmedia_ioctl
ifhwioctl
ifioctl
soo_ioctl
ioctl
syscall(2f, 2f, 2f, bfbfe838, 3)

The exact message is:
panic: mutex vr0 not owned at /usr/src/sys/pci/if_vr.c:571
cpuid = 0;

I have a dump available, but currently no network access on this box. 

Regards,
Andreas

(PS: I also get the panic phk@ reported in
http://lists.freebsd.org/pipermail/freebsd-current/2004-August/033500.html:
when the linuxulator is loaded from rc. Dump available as well.)

-- 
NEU: WLAN-Router f�r 0,- EUR* - auch f�r DSL-Wechsler!
GMX DSL = superg�nstig & kabellos http://www.gmx.net/de/go/dsl


------------------------------

Message: 25
Date: Sat, 7 Aug 2004 10:57:06 -0700
From: "Michael C. Shultz" <ringworm@inbox.lv>
Subject: Need help: buildworld for CURRENT while under STABLE is not
	working
To: current@freebsd.org
Message-ID: <200408071057.06960.ringworm@inbox.lv>
Content-Type: text/plain; charset="us-ascii"

I have STABLE on ad0 and a working snapshot of CURRENT on ad1, I am trying
to run:

make buildworld -DDESTDIR=/ad1 while booted from STABLE and I keep getting the 
following error: (Note: cvsup'ed just before running make build world still 
didn't help, neither does cleaning before hand...)  I'll attach my make.conf 
in case that helps...


===> usr.sbin/bsnmpd/gensnmptree
/usr/obj/ad1/usr/src/i386/ad1/usr/src/usr.sbin/bsnmpd/gensnmptree created 
for /ad1/usr/src/usr.sbin/bsnmpd/gensnmptree
rm -f .depend
mkdep -f .depend -a    
-I/ad1/usr/src/usr.sbin/bsnmpd/gensnmptree/../../../contrib/bsnmp/lib 
-I/usr/obj/ad1/usr/src/i386/legacy/usr/include /ad1/usr/src/usr.sbin/bsnmpd/gensnmptree/../../../contrib/bsnmp/gensnmptree/gensnmptree.c
/ad1/usr/src/usr.sbin/bsnmpd/gensnmptree/../../../contrib/bsnmp/gensnmptree/gensnmptree.c:66: 
stdint.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /ad1/usr/src/usr.sbin/bsnmpd/gensnmptree.
*** Error code 1

Stop in /ad1/usr/src.
*** Error code 1

Stop in /ad1/usr/src.
*** Error code 1

Stop in /ad1/usr/src.

------------------------------

Message: 26
Date: Sat, 7 Aug 2004 12:39:56 -0700 (PDT)
From: Rostislav Krasny <rosti_bsd@yahoo.com>
Subject: panic in 5.2-CURRENT-20040807-SESNAP
To: freebsd-current@freebsd.org
Message-ID: <20040807193956.19303.qmail@web14822.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii

Hello.

I got a system panic during building cvsup-without-gui from the ports
on fresh installed 5.2-CURRENT-20040807-SESNAP snapshot. Now I see
following message on the console:

panic: ffs_clusteralloc: map mismatch
cpuid = 0;
KDB: enter: panic
[thread 100113]
Stopped at     kdb_enter+0x2b: nop
db>

I lost a network connection with that box but since it's near my other
box (where I'm writing this email) I can copy the screen to here. I'm
not familiar with KDB but I can leave that box non-rebooted for 2..3
hours. So somebody from developers would ask me to enter any KDB
commands to get more information about that panic.

P.S. This is Pentium MMX 200MHz system with 128Mb RAM and one IDE disk.

P.P.S. I can be reached through email or IRC. If you prefer IRC, send
me a private email now about how and where I can find you.


		
_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now. 
http://messenger.yahoo.com

------------------------------

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

End of freebsd-current Digest, Vol 71, Issue 20
***********************************************


--
Evariste Galois:
    �����呛��樱������蔷������,����直前......


�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234]