RC1 sysinstall hang

2002-12-09 Thread Dimitry Andric
: 3.300MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present == If anyone has suggestions on how to get sysinstall to stop hanging, please let me know. :-) Cheers, - -- Dimitry Andric [EMAIL PROTECTED] PGP Key: http://www.xs4all.nl/~dim/dim.asc

Re: RC1 sysinstall hang

2002-12-10 Thread Dimitry Andric
it to hang? Maybe it chokes on removable direct-access SCSI devices? Cheers, - -- Dimitry Andric [EMAIL PROTECTED] PGP Key: http://www.xs4all.nl/~dim/dim.asc Fingerprint: 7AB462D2CE35FC6D42394FCDB05EA30A2E2096A3 Lbh whfg ivbyngrq gur QZPN naq jvyy or cebfrphgrq -BEGIN PGP SIGNATURE- Version

Re: /usr/libexec/ld-elf.so.1 not installed by cd /usr/src;make install

2002-12-18 Thread Dimitry Andric
. :-) Cheers, - -- Dimitry Andric [EMAIL PROTECTED] PGP Key: http://www.xs4all.nl/~dim/dim.asc Fingerprint: 7AB462D2CE35FC6D42394FCDB05EA30A2E2096A3 Lbh ner abj va ivbyngvba bs gur QZPN -BEGIN PGP SIGNATURE- Version: 6.5.8ckt http://www.ipgpp.com/ Comment: http://duncan.gn.apc.org/stoa_cover.htm iQA

Re: HEADS UP! ATAng committed

2003-08-25 Thread Dimitry Andric
On 2003-08-24 at 11:27:05 Soren Schmidt wrote: ATAng has just been committed. You need to make world after this update as atacontrol etc needs to pick up the changes. Building went fine here on my VMware test box, but the new kernel spat out a warning (which wasn't fatal, as it doesn't panic):

Generating PPro instructions with CPUTYPE=i586?

2003-08-28 Thread Dimitry Andric
While trying to build a -CURRENT release for my aging Pentium 150 router box on my substantially faster Athlon XP box, I ran into the following problem. I'm using CPUTYPE=i586 in /etc/make.conf, since the target box is not even capable of doing MMX. However, when the build is complete and I try

Re: make buildkernel failure in cardbus.c

2003-10-06 Thread Dimitry Andric
On 2003-10-06 at 19:21:34 M. Warner Losh wrote: My bad. I've fixed it. Builds fine now, thanks for the fast fix. :) pgp0.pgp Description: PGP signature

Re: Unable to boot cvsup 20031011

2003-10-15 Thread Dimitry Andric
On 2003-10-15 at 03:30:54 Brian J. Creasy wrote: What version of sys/i386/i386/pmap.c do you have? If you are getting the pmap_zero_page: CMAP3 busy, it should be fixed by version 1.446, which phk checked in 2003/10/12 10:55:45. __FBSDID($FreeBSD: src/sys/i386/i386/pmap.c,v 1.447 2003/10/13

MBR zapped when panicking?

2003-10-21 Thread Dimitry Andric
Hi, Today I had a -CURRENT machine panic on me with a page fault, and something happened that I have seen before: the machine refused to come up afterwards. Closer inspection revealed that the MBR on the boot disk was totally zapped, filled with seemingly random characters. Luckily the disk label

5.0-RELEASE ports.tgz file missing?

2003-01-30 Thread Dimitry Andric
, there is such a ports directory, with a ports.tgz file (and accompanying CHECKSUM.MD5 and install.sh files). Is this a deliberate omission on the FTP servers? Cheers, - -- Dimitry Andric [EMAIL PROTECTED] PGP Key: http://www.xs4all.nl/~dim/dim.asc Fingerprint: 7AB462D2CE35FC6D42394FCDB05EA30A2E2096A3 Lbh

5.0-RELEASE ports.tgz file missing?

2003-01-31 Thread Dimitry Andric
, there is such a ports directory, with a ports.tgz file (and accompanying CHECKSUM.MD5 and install.sh files). Is this a deliberate omission on the FTP servers? Cheers, - -- Dimitry Andric [EMAIL PROTECTED] PGP Key: http://www.xs4all.nl/~dim/dim.asc Fingerprint: 7AB462D2CE35FC6D42394FCDB05EA30A2E2096A3 Lbh

Re: named chroot rcNG devfs

2003-02-11 Thread Dimitry Andric
/null and /dev/random. It probably dups stdin, stdout and stderr to /dev/null at startup, and it obviously uses /dev/random for random data. :) I presume this behaviour will be exactly the same on -CURRENT. Cheers, - -- Dimitry Andric [EMAIL PROTECTED] PGP Key: http://www.xs4all.nl/~dim/dim.asc

Re: make buildworld fails

2013-08-07 Thread Dimitry Andric
On Aug 7, 2013, at 12:31, Boris Samorodov b...@passap.ru wrote: 06.08.2013 03:45, Robert Huff пишет: ... cd /usr/src; PATH=/sbin:/bin:/usr/sbin:/usr/bin `test -x /usr/obj/usr/src/make.amd64/bmake echo /usr/obj/usr/src/make.amd64/bmake || echo make` -m /usr/src/share/mk -f Makefile.inc1

Re: make buildworld fails

2013-08-07 Thread Dimitry Andric
On Aug 7, 2013, at 15:40, Robert Huff roberth...@rcn.com wrote: Boris Samorodov writes: ... Are there some non-default configure/environment values? Not as far as I know. There is no src.conf; make.conf is appended. Robert Huff CFLAGS=

Re: building i386 world on amd64 host: failed @svn

2013-08-15 Thread Dimitry Andric
On Jul 28, 2013, at 15:15, Dmitry Morozovsky ma...@rinet.ru wrote: ... on my builder I have consistent error: /usr/obj/i386.i386/FreeBSD/pristine/src.current/usr.bin/svn/svn/../lib/libsvn_subr/libsvn_subr.a(named_atomic.o): In function `svn_named_atomic__cmpxchg':

Re: building i386 world on amd64 host: failed @svn

2013-08-15 Thread Dimitry Andric
On Aug 15, 2013, at 20:36, Konstantin Belousov kostik...@gmail.com wrote: On Thu, Aug 15, 2013 at 08:13:34PM +0200, Dimitry Andric wrote: Alternatively, we could attempt to figure out why gcc doesn't want to inline those 64 bit builtins on FreeBSD. It seems to have no problem doing so

Re: building i386 world on amd64 host: failed @svn

2013-08-16 Thread Dimitry Andric
On Aug 15, 2013, at 21:38, Jung-uk Kim j...@freebsd.org wrote: On 2013-08-15 15:30:49 -0400, Konstantin Belousov wrote: On Thu, Aug 15, 2013 at 09:12:52PM +0200, Dimitry Andric wrote: On Aug 15, 2013, at 20:36, Konstantin Belousov kostik...@gmail.com wrote: Does the linux box defaults

Re: building i386 world on amd64 host: failed @svn

2013-08-16 Thread Dimitry Andric
On Aug 16, 2013, at 17:02, Konstantin Belousov kostik...@gmail.com wrote: On Fri, Aug 16, 2013 at 02:33:29PM +0200, Dimitry Andric wrote: ... In contrast, gcc's rules (in contrib/gcc/config/i386/i386.c) are pretty straightforward: /* Compare and exchange was added for 80486. */ const int

Re: portaudit install failure

2013-08-17 Thread Dimitry Andric
On Aug 17, 2013, at 19:15, Saul A. Peebsen jaglo...@gmail.com wrote: I'm getting this: ... --- Installing the new version via the port === Installing for portaudit-0.6.1 /usr/sbin/pkg_info missing, please install port sysutils/pkg_install-devel *** Error code 1 But there is no

Problems with iconv in base and static linking

2013-08-21 Thread Dimitry Andric
Hi, While packaging my just-rebuilt ports today, I noticed a strange message occurring during the package creation stage: $ sudo make -C /usr/ports/ports-mgmt/pkg repackage === Building package for pkg-1.1.4_1 Creating package for pkg-1.1.4_1 Service unavailable$ In fact, *every* make

Re: why does buildkernel set COMPILER_TYPE?

2013-08-22 Thread Dimitry Andric
On Aug 22, 2013, at 06:04, John-Mark Gurney j...@funkthat.com wrote: I've noticed that if you do a: make buildworld WITHOUT_CLANG_IS_CC=YES and then do a: make buildkernel (w/o the WITHOUT_CLANG_IS_CC=YES option) that it fails... Why don't you just put the WITHOUT_CLANG_IS_CC setting

Re: stable/8 kernel-toolchain fails with clang on head

2013-08-23 Thread Dimitry Andric
On Aug 23, 2013, at 14:16, Andriy Gapon a...@freebsd.org wrote: $ /usr/obj/usr/devel/svn/base/stable/8/make.amd64/make kernel-toolchain WITHOUT_CLANG=1 __MAKE_CONF=/dev/null SRCCONF=/dev/null ... It seems that the problem is specific to stable/8 and is caused by missing -std=gnu89. And that

Re: print/cups: 10.0-CURRENT renders cups unusable / recompilation fails due to missing libiconv

2013-08-26 Thread Dimitry Andric
On Aug 26, 2013, at 15:54, O. Hartmann ohart...@zedat.fu-berlin.de wrote: Today I update a box to 10.0-CURRENT #0 r254896: Mon Aug 26 09:42:48 CEST 2013 amd64. Bevor the update this morning, I ran a box with the sources from around last Friday and port print/cups was working fine so far.

Re: clang+libc++ using missing powl

2013-09-05 Thread Dimitry Andric
On Sep 5, 2013, at 00:38, Baptiste Daroussin b...@freebsd.org wrote: I'm running exp-run to build the whole ports tree with clang using libc++ by default. As a result we have a lot of fallouts of ports complaining about: undefined reference to `powl' It seems like libc++ is relying on a

Re: ports/181913: devel/qt4-script: /usr/include/c++/v1/type_traits:3175:22: error: call to 'swap' is ambiguous

2013-09-08 Thread Dimitry Andric
On Sep 8, 2013, at 08:14, O. Hartmann ohart...@zedat.fu-berlin.de wrote: On Sat, 7 Sep 2013 22:49:54 GMT rak...@freebsd.org wrote: Synopsis: devel/qt4-script: /usr/include/c++/v1/type_traits:3175:22: error: call to 'swap' is ambiguous State-Changed-From-To: open-patched State-Changed-By:

Re: ia64 r255472: /usr/src/sys/kern/uipc_syscalls.c:2196: warning: obj_size may be used uninitialized in this function

2013-09-12 Thread Dimitry Andric
On Sep 12, 2013, at 10:37, Anton Shterenlikht me...@bris.ac.uk wrote: ia64 r255472 buildkernel gives this error: cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign

Re: HEADS UP: No gcc by default in -HEAD on platforms where clang is cc

2013-09-12 Thread Dimitry Andric
On Sep 12, 2013, at 21:47, S.N.Grigoriev serguey-grigor...@yandex.ru wrote: after upgrading to r255423 (make buildworld make buildkernel make installkernel make installworld reboot; make delete-old make delete-old-libs) I cannot build the system with the WITH_GCC=yes and

Re: aicasm build error

2013-09-14 Thread Dimitry Andric
On Sep 14, 2013, at 19:50, Ian Lepore i...@freebsd.org wrote: For a while I've been getting a build error on aicasm during the early steps of the build. Today I finally dug into it and discovered it's because the build is using a mix of header files, some from /usr/include on the build host,

Re: -ffunction-sections, -fdata-sections and -Wl,--gc-sections

2013-09-16 Thread Dimitry Andric
On Sep 16, 2013, at 03:08, Adrian Chadd adr...@freebsd.org wrote: The results are interesting. On amd64: - devd suddenly becomes 500 KB in size, instead of a megabyte, - init's size drops from 900 KB to 600 KB, - clang becomes a megabyte smaller. .. so, I'd like to know specific

Re: spurious Service Unavailable

2013-09-20 Thread Dimitry Andric
On Sep 20, 2013, at 01:39, Glen Barber g...@freebsd.org wrote: On Thu, Sep 19, 2013 at 01:29:35PM -1000, David Cornejo wrote: On CURRENT Revsion 255706 I am trying to rebuild a bunch of ports in screen and I'm getting the string Service unavailable in the output between the package creation

Re: Doing it wrong: Building world with lang/clang-devel

2013-09-20 Thread Dimitry Andric
On Sep 20, 2013, at 20:39, Sean Bruno sean_br...@yahoo.com wrote: wow, that didn't work at all. :-) I set these in make.conf: CC=/usr/local/bin/clang C++=/usr/local/bin/clang++ CPP=/usr/local/bin/clang++ You should use XCC, XCXX and XCPP instead, as described here:

Re: and64-build i386 mtree doesn't work too (Re: r255795/i386 built on r255795/amd64 still could not start devdpassword)

2013-09-24 Thread Dimitry Andric
On Sep 24, 2013, at 14:24, Lev Serebryakov l...@freebsd.org wrote: LS Now I have r255795/i386 built on r255795/amd64 (with make TARGET=i386 buildworld LS buildkernel). LS Also, it could not start make buildworld by itself, as mtree complains LS about line 2 of etc/mtree/BSD.usr.dist (no

Re: lang/gcc not build

2013-09-25 Thread Dimitry Andric
On Sep 25, 2013, at 15:17, Alexander Panyushkin vsi...@gmail.com wrote: uname FreeBSD 10.0-ALPHA2 #0 r255833M: Tue Sep 24 10:21:04 EEST 2013

Re: [CURRENT] unbound: zonefiles?

2013-09-30 Thread Dimitry Andric
On Sep 30, 2013, at 14:28, Mark Felder f...@freebsd.org wrote: ... BIND functioned as both roles. The lack of separation is often why it is criticized. DJB made the separation of roles famous when he released DJBDNS which includes two daemons: dnscache and tinydns. The complementary daemon

Re: CLANG reports an error with %b in printf(9)

2013-10-01 Thread Dimitry Andric
On Oct 1, 2013, at 21:30, Luigi Rizzo ri...@iet.unipi.it wrote: This is on HEAD -- while compiling the kernel with CLANG and slightly higher warns level, i get errors of this kind (in multiple places): /usr/home/luigi/FreeBSD/head/sys/cam/cam_xpt.c:1069:27: error: invalid conversion

Re: CURRENT BUILD FAILURE sys/modules/cxgbe

2013-10-07 Thread Dimitry Andric
On Oct 7, 2013, at 23:04, Outback Dingo outbackdi...@gmail.com wrote: On Mon, Oct 7, 2013 at 5:00 PM, Ian Lepore i...@freebsd.org wrote: On Mon, 2013-10-07 at 16:52 -0400, Outback Dingo wrote: cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc

Re: make universe fails, apparently in lib/clang/include (all)

2013-10-10 Thread Dimitry Andric
On Oct 10, 2013, at 18:45, Eric van Gyzen eric_van_gy...@dell.com wrote: make universe is consistently failing in the following way. _.amd64.amd64.buildworld contains: === lib/clang/libllvmx86desc (all) === lib/clang/libllvmx86disassembler (all) === lib/clang/libllvmx86info

Re: /usr/src/lib/msun errors

2013-10-12 Thread Dimitry Andric
On Oct 12, 2013, at 23:27, Joe Nosay superbisq...@gmail.com wrote: $ lynx /usr/local/lib/libintl.so.9: Undefined symbol libiconv_set_relocation_prefix $ $ firefox XPCOMGlueLoad error for file /usr/local/lib/firefox/libxpcom.so: /usr/local/lib/libglib-2.0.so.0: Undefined symbol libiconv

Re: contrib/gcclibs/libssp security warning

2013-10-21 Thread Dimitry Andric
On Oct 21, 2013, at 05:47, Sean Bruno sean_br...@yahoo.com wrote: There's an unchecked syslog call inside of libssp/ssp.c /usr/src/gnu/lib/libssp/../../../contrib/gcclibs/libssp/ssp.c:137:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security]

Re: gperf/src/options.cc -- quiesce clang warnings -Wlogical-op-parentheses

2013-10-21 Thread Dimitry Andric
On Oct 21, 2013, at 05:50, Sean Bruno sean_br...@yahoo.com wrote: gperf has some clang warnings that seem to be harmless, but annoying regarding some of the logical operations around detecting ascii chars: c++ -O2 -pipe -I/usr/obj/usr/src/tmp/legacy/usr/include -Wno-c ++11-extensions

Re: Any suggestions on how to fix this error?

2013-11-07 Thread Dimitry Andric
On 08 Nov 2013, at 00:38, Sean Bruno sean_br...@yahoo.com wrote: cc: warning: argument unused during compilation: '-L/var/tmp/home/sbruno/bsd/head/lib32/usr/lib32' This shows up on buildworld on amd64. I'm not 100% clear where this comes from nor how to clean it out where it doesn't belong

Re: [head tinderbox] failure on mips/mips

2013-11-08 Thread Dimitry Andric
On 08 Nov 2013, at 16:08, Adrian Chadd adr...@freebsd.org wrote: On 8 November 2013 02:32, FreeBSD Tinderbox tinder...@freebsd.org wrote: [snip] cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline

Re: Are clang++ and libc++ compatible?

2013-11-12 Thread Dimitry Andric
On 12 Nov 2013, at 17:54, Steve Kargl s...@troutmask.apl.washington.edu wrote: ... namespace pan { class Log { public: enum Severity { PAN_SEVERITY_INFO = 1, PAN_SEVERITY_ERROR = 2, PAN_SEVERITY_URGENT = (110) }; struct Entry { time_t

Re: Are clang++ and libc++ compatible?

2013-11-12 Thread Dimitry Andric
On 12 Nov 2013, at 22:19, Tijl Coosemans t...@coosemans.org wrote: ... There's a similar problem with graphics/blender. There's a class TreeElement which links to its parent TreeElement like this: std::mapstd::string, TreeElement::const_iterator parent; Works with libstdc++, fails with

Re: Are clang++ and libc++ compatible?

2013-11-12 Thread Dimitry Andric
On 13 Nov 2013, at 08:29, Shane Ambler free...@shaneware.biz wrote: On 13/11/2013 07:49, Tijl Coosemans wrote: ... There's a similar problem with graphics/blender. There's a class TreeElement which links to its parent TreeElement like this: std::mapstd::string, TreeElement::const_iterator

Re: libc++ vs. libstdc++ usage in the ports tree

2013-11-13 Thread Dimitry Andric
On 13 Nov 2013, at 19:51, Andriy Gapon a...@freebsd.org wrote: on 13/11/2013 19:52 Ryan Stone said the following: In my experience libstdc++ does not have good ABI stability between versions In my experience it does. In either case compatibility between different versions of relatively

Re: buildworld error on -current

2013-11-14 Thread Dimitry Andric
On 14 Nov 2013, at 00:23, Nilton Jose Rizzo ri...@i805.com.br wrote: ... === lib/libc++ (all) c++ -O2 -pipe -I/usr/src/lib/libc++/../../contrib/libc++/include -I/usr/src/li b/libc++/../../contrib/libcxxrt -nostdlib -DLIBCXXRT -Qunused-arguments -fstack- protector -Wno-empty-body

Re: Please compile ports-mgmt/pkg for i486

2013-11-20 Thread Dimitry Andric
On 20 Nov 2013, at 11:22, Stanisław Halik stha...@misaki.pl wrote: On Wed November 20 2013 11:16:03 you wrote: Ah yes, we did attempt to fix those long nops on Geode once and for all, can you please confirm that pkg built with recent clang does not cause SIGILL for you? Not unless

Re: Duplicated WITH_*/WITHOUT_* options

2013-11-21 Thread Dimitry Andric
On 21 Nov 2013, at 09:44, Mark Robert Vaughan Murray ma...@freebsd.org wrote: I noticed we have some duplicated WITH_*/WITHOUT_* options; presumably this is an oversight? [graveyard] /usr/src/tools/build/options 08:37 am # for i in WITH_* ; do if [ -e WITHOUT_${i##WITH_} ] ; then echo

Re: i386 update to latest -HEAD broke things

2013-11-22 Thread Dimitry Andric
On 22 Nov 2013, at 04:23, Adrian Chadd adr...@freebsd.org wrote: I just updated a laptop from a month old -HEAD to the latest -HEAD. Things .. didn't work. * No processes ran - they'd complain about being out of anonymous memory * /rescue/sh works fine, but /rescue/dhclient seems to be doing

Re: Buildworld broken with WITHOUT_DYNAMICROOT=yes in src.conf

2013-11-25 Thread Dimitry Andric
On 25 Nov 2013, at 08:51, Konstantin Belousov kostik...@gmail.com wrote: On Sun, Nov 24, 2013 at 11:48:54PM -0500, Glen Barber wrote: ... Index: Makefile === --- Makefile (revision 258538) +++ Makefile (working copy)

Re: RFC: (Unconditionally) enable -fno-strict-overflow for kernel builds

2013-11-30 Thread Dimitry Andric
On 30 Nov 2013, at 14:56, Konstantin Belousov kostik...@gmail.com wrote: I propose to unconditionally add the switch -fno-strict-overflow to the kernel compilation. See the patch at the end of message for exact change proposed. What does it do. It disallows useless and counter-intuitive

Re: RFC: (Unconditionally) enable -fno-strict-overflow for kernel builds

2013-12-01 Thread Dimitry Andric
On 01 Dec 2013, at 01:33, Adrian Chadd adr...@freebsd.org wrote: On 30 November 2013 15:25, Dimitry Andric d...@freebsd.org wrote: ... Basically, if you rely on undefined behavior, you are inventing your own de facto language, which is *not* C. That is fine with me, but let's not pretend

Re: patch -p broken on HEAD?

2013-12-01 Thread Dimitry Andric
On 01 Dec 2013, at 19:20, Mikhail T. mi+t...@aldan.algebra.com wrote: On 30.11.2013 13:24, pkg-fall...@freebsd.org wrote: === Applying FreeBSD patches for xmdiary-3.0.3_3 removing the malloc.h includes /bin/sh /usr/ports/deskutils/xmdiary/scripts/nomalloc

Re: RFC: less chatty system builds

2013-12-16 Thread Dimitry Andric
On 16 Dec 2013, at 19:46, Luigi Rizzo ri...@iet.unipi.it wrote: The following is a proof-of-concept patch to make system builds less chatty. It also has the nice side effect of showing more clearly which rules are used during the build and possibly help debugging the share/mk files and the

Re: svn ports, or the hen egg

2013-12-18 Thread Dimitry Andric
On 18 Dec 2013, at 21:50, Matthias Apitz g...@unixarea.de wrote: As ports are now for some time are to be pulled out via SVN (and not CVS) and the svn client is only in the ports tree and not in the base system, how is this thought to work in a clean way, without dusting the system before

Re: [head tinderbox] failure on i386/pc98

2013-12-26 Thread Dimitry Andric
On 26 Dec 2013, at 22:09, FreeBSD Tinderbox tinder...@freebsd.org wrote: TB --- 2013-12-26 18:03:50 - tinderbox 2.20 running on freebsd-current.sentex.ca TB --- 2013-12-26 18:03:50 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012

Re: LLVM: llvm-as, llvm-ld and so on not contained in FreeBSD core contrib?

2011-06-26 Thread Dimitry Andric
On 2011-06-25 17:53, Hartmann, O. wrote: On 06/25/11 10:10, Roman Divacky wrote: On Sat, Jun 25, 2011 at 09:57:52AM +0200, Hartmann, O. wrote: Hello. Just for my couriosity: I'm missing llvm-as, llvm-ld and other binutils from LLVM and was wondering why they are contained in the port's llvm

Re: Build failure during 9-CURRENT make world

2011-06-26 Thread Dimitry Andric
On 2011-06-26 20:43, Chris Rees wrote: ... cd /usr/cursrc/src make KERNCONF=CERBERUS DESTDIR=/mnt world kernel ... /usr/obj/cursrc/src/usr.bin/clang/clang/../../../lib/clang/libllvmcodegen/libllvmcodegen.a: could not read symbols: File format not recognized ... Any ideas please??? The file

Re: Clang buildworld failure due to multiple definitions of __isnanf

2011-06-27 Thread Dimitry Andric
On 2011-06-27 04:32, Eric McCorkle wrote: I've both seen reports and experienced make buildworld with clang failing in usr.bin/xlint/lint1 (really, make kernel-toolchain is what fails), because lint1 is statically linked, and there is a definition of __isnanf in both libc and libm. GCC, on the

Re: sys/boot/i386/boot2 build failure with clang

2011-07-17 Thread Dimitry Andric
On 2011-07-17 12:11, Doug Barton wrote: Trying to build r224125 with clang, and got this (using no -j): ... as --32 -o boot2.o boot2.s boot2.s: Assembler messages: boot2.s:4073: Error: unknown pseudo-op: `.cfi_sections' When using -g, clang outputs directives that are simply too new for our

Re: sys/boot/i386/boot2 build failure with clang

2011-07-18 Thread Dimitry Andric
On 2011-07-18 09:42, Doug Barton wrote: .. A clean /usr/obj got me all the way through buildworld to the point where it was building the 32-bit compat libs, and got this: ... /tmp/.root/cc-ysEysz.s:31589: Error: unknown pseudo-op: `.cfi_sections' clang: error: assembler command failed with

Re: buildworld failing in lib/libc/db/btree

2011-07-21 Thread Dimitry Andric
On 2011-07-21 09:08, Alexander Best wrote: for some reason buildworld always fails in lib/libc/db/btree :( clang: /usr/bin/clang -O2 -pipe -fno-strict-aliasing -fno-omit-frame-pointer -march=core2 -I/usr/git-freebsd-head/lib/libc/include -I/usr/git-freebsd-head/lib/libc/../../include

Re: buildworld failing in lib/libc/db/btree

2011-07-21 Thread Dimitry Andric
On 2011-07-21 15:45, Alexander Best wrote: ... If you are including any path, e.g. CC=/usr/bin/clang, buildworld will not work. Remove the path and try again. THANKS! ...exactly that was the problem. :) after changing CC/CXX so it doesn't contain a full path, buildworld succeeded! The

Re: [clang] OpenOffice does not work with clang-compiled libgcc_s.so.1

2011-07-27 Thread Dimitry Andric
On 2011-07-27 12:19, Alexey Shuvaev wrote: ... So, if I compile the whole world (and kernel) with clang, soffice.bin dumps core. If I recompile the world with gcc and replace /lib/libgcc_s.so.1 with the new one, OpenOffice works fine again. Hmm, OpenOffice is a rather unwieldy testcase, not in

Re: libc build broken with clang ?

2011-08-01 Thread Dimitry Andric
On 2011-07-31 19:15, Alex Kuster wrote: Hi! I'm writing because I'm having some issues with -CURRENT and clang in amd64. I first compiled latest revision at this date and everything went ok: [0][root@Symphony ~]# uname -a FreeBSD Symphony.Gl 9.0-CURRENT FreeBSD 9.0-CURRENT #4: Sun Jul 10

Re: update from old current (october) to 9.0 beta fails in installworld

2011-08-03 Thread Dimitry Andric
On 2011-08-03 01:18, Patrick Lamaiziere wrote: Looks like I've broke my soekris net5501 while doing installworld (built with clang) === libexec/rtld-elf (install) chflags noschg /usr/libexec/ld-elf.so.1 install -s -o root -g wheel -m 555 -C -b -fschg -S ld-elf.so.1 /libexec install -o root -g

Re: [clang] (gpt)zfsboot is broken: zfs_alloc()/zfs_free() mismatch

2011-08-05 Thread Dimitry Andric
On 2011-08-05 11:45, Olivier Smedts wrote: ... A workaround for the hang on boot and error 1 lba X failures is the following patch, it would be interesting if it also makes the zfs_alloc/free error go away too. Yes, it solved the ZFS: zfs_alloc()/zfs_free() mismatch error when gptzfsboot-ing

Re: [clang] (gpt)zfsboot is broken: zfs_alloc()/zfs_free() mismatch

2011-08-05 Thread Dimitry Andric
On 2011-08-05 02:17, Pawel Worach wrote: ... A workaround for the hang on boot and error 1 lba X failures is the following patch, it would be interesting if it also makes the zfs_alloc/free error go away too. ... dim@ has filed an upstream bug, http://llvm.org/bugs/show_bug.cgi?id=10591

Re: [clang] (gpt)zfsboot is broken: zfs_alloc()/zfs_free() mismatch

2011-08-06 Thread Dimitry Andric
On 2011-08-05 07:08, Test Rat wrote: Pawel Worachpawel.wor...@gmail.com writes: ... A workaround for the hang on boot and error 1 lba X failures is the following patch, it would be interesting if it also makes the zfs_alloc/free error go away too. After applying the patch zfsboot and

Re: HEAD after 9-BETA1 broken

2011-08-10 Thread Dimitry Andric
On 2011-08-10 16:13, René Ladan wrote: ... This works, but why did the conditional version work for buildworld and for earlier buildkernel invocations? Apparently buildkernel changes to the kernel obj dir, e.g: cd ${KRNLOBJDIR}/${_kernel}; ${KMAKE} ${CLEANDIR} so .if

Re: gptzfsboot error using HP Smart Array P410i Controller

2011-08-20 Thread Dimitry Andric
On 2011-08-18 18:30, Christoph Hoffmann wrote: ... Changing the order of execution in zfsboot.c main() function to […] int main(void) { […] bios_getmem(); if (high_heap_size 0) { […] bootinfo.bi_version = BOOTINFO_VERSION; bootinfo.bi_size = sizeof(bootinfo);

Re: buildworld failure r223619 to 225128

2011-08-25 Thread Dimitry Andric
On 2011-08-25 17:12, Beach Geek wrote: make buildworld failed trying to upgrade from r223619 to r225128. (Note: Updating other boxes from r224774 to r225119 went flawless) On failing laptop (Toshibs Sat C655D) /usr/include/c++/4.2/bits/stringfwd.h:56: internal compiler error:

Re: CLANG; still cc in use when building the WORLD with CLANG?

2011-08-30 Thread Dimitry Andric
On 2011-08-30 11:48, Hartmann, O. wrote: I'm building world with CLANG (or I pretend to do so). In my /etc/make.conf I use these lines: ### ### CLANG ### .if defined(USE_CLANG) .if !empty(.CURDIR:M/usr/src*) You should add || !empty(.CURDIR:M:/usr/obj*) to this

Re: CLANG; still cc in use when building the WORLD with CLANG?

2011-08-30 Thread Dimitry Andric
On 2011-08-30 18:44, Alex Kuster wrote: Thanks for pointing out those details ! This whole thing about make.conf src.conf is very confusing and gives the impression of something half ported ... The only thing that is half ported at the moment, is an easy use clang to build world switch. This

Re: Compiling BETA2 with clang fails

2011-09-03 Thread Dimitry Andric
On 2011-09-03 22:22, Volodymyr Kostyrko wrote: Hi all. === libexec/bootpd (all) ... /usr/local/libexec/ccache/world/clang -O2 -pipe -Qunused-arguments -fPIC -march=native -DETC_ETHERS -DSYSLOG -DDEBUG -DVEND_CMU -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k

Re: Compiling BETA2 with clang fails

2011-09-03 Thread Dimitry Andric
On 2011-09-03 22:58, Volodymyr Kostyrko wrote: 03.09.2011 23:43, Dimitry Andric ???(??): On 2011-09-03 22:22, Volodymyr Kostyrko wrote: ... .if ${CC:T} == clang CFLAGS+= -Qunused-arguments -fPIC .endif You should not unconditionally add -fPIC. Remove it, and try again

Re: Compiling BETA2 with clang fails

2011-09-06 Thread Dimitry Andric
On 2011-09-05 06:01, Volodymyr Kostyrko wrote: ... You should not unconditionally add -fPIC. Remove it, and try again. (The -Qunused-arguments is fine, btw.) 0k, here you go. Just as you say - no -fPIC, no ccache, no anything. ... /usr/obj/usr/src/tmp/usr/lib/crt1.o: In function `_start1':

Re: WITHOUT_GCC flag disables installation of /usr/bin/cpp too -- is it Ok?

2011-09-07 Thread Dimitry Andric
On 2011-09-07 18:10, Lev Serebryakov wrote: I'm building NanoBSD image based on latest HEAD sources. I've added WITHOUT_GCC to install configuration, as I don't need gcc/g++ (it is documented in man src.conf as disabling exactly gcc and g++), but it affect /usr/bin/cpp too. And I need cpp for

Re: WITHOUT_GCC flag disables installation of /usr/bin/cpp too -- is it Ok?

2011-09-07 Thread Dimitry Andric
On 2011-09-07 19:20, Lev Serebryakov wrote: ... I think, that /usr/bin/cpp is valuable by itself, as it is handy generic preprocessor tool, useful for preparing complex ipfw scripts, for example. All others are bundled together, for sure. I think, it is good idea to exclude cpp from this

Re: Compiling BETA2 with clang fails

2011-09-09 Thread Dimitry Andric
On 2011-09-09 05:45, Volodymyr Kostyrko wrote: ... Like cleaning /usr/obj/ and then buildworld with clang but with -march=athlon-xp instead of -march=native. As the problem does not seem to be in your current world but rather in the bootstrap clang compiled with -march=native, you should not

Re: Compiling BETA2 with clang fails

2011-09-09 Thread Dimitry Andric
On 2011-09-09 14:39, Volodymyr Kostyrko wrote: 09.09.2011 11:52, Dimitry Andric wrote: ... This is why I still think you have the stdin/out/err problem, in some way. Can you please check /usr/obj/usr/src/lib/libc/Version.map? It should have about 2775 lines, otherwise your libc build is busted

Re: System headers with clang?

2011-10-11 Thread Dimitry Andric
On 2011-10-09 19:32, Larry Rosenman wrote: I had gotten a PR about sysutils/lsof not compiling with clang. I had Vic Abell check it out, and the problem is NOT with lsof per se, but with the system headers. Is there a project afoot to update the system headers to make them clang compilable?

Re: FreeBSD-9.0-BETA3/amd64 (CLANG): Assertion failed: (mblength != (size_t)-1 mblength != (size_t)-2), function inittables_mb, file /usr/src/gnu/usr.bin/sort/../../../contrib/gnu-sort/src/sort.c,

2011-10-11 Thread Dimitry Andric
On 2011-10-11 11:44, O. Hartmann wrote: On my lab's server, a FreeBSD 9 box (9.0-BETA3 FreeBSD 9.0-BETA3 #40 r226245: Tue Oct 11 10:01:29 CEST 2011), I receive for some ports while compiling this error: Abort trap (core dumped) Assertion failed: (mblength != (size_t)-1 mblength != (size_t)-2),

Re: System headers with clang?

2011-10-11 Thread Dimitry Andric
On 2011-10-11 15:31, Larry Rosenman wrote: On Tue, 11 Oct 2011, Dimitry Andric wrote: ... I've attached a fix for the lsof port, which also makes it build on 10.0-CURRENT (this was easy to fix here, as lsof uses its own hand-rolled configuration script). Let me know if it works for you

Re: Fresh installed Freebsd 9 don't boot from hd

2011-10-23 Thread Dimitry Andric
On 2011-10-23 21:56, Dennis Koegel wrote: On Sun, Oct 23, 2011 at 08:57:59PM +0300, Andriy Gapon wrote: I found a document that suggests a possibility of BIOS writing more bytes to the array than its current size of 0x42: [...] Could you please test this hypothesis by trying the following

Re: 9.0 RC1 linking problem with i386 libs on amd64

2011-10-26 Thread Dimitry Andric
On 2011-10-26 15:32, Dominic Fandrey wrote: I haven't tried to dig into this. Only unusual properties of the system are my non-default MAKEOBJDIRPREFIX and the use of ccache. # uname -a FreeBSD AryaStark.norad 9.0-RC1 FreeBSD 9.0-RC1 #0: Wed Oct 26 13:46:13 CEST 2011

Re: 9.0 RC1 linking problem with i386 libs on amd64

2011-10-28 Thread Dimitry Andric
On 2011-10-28 16:41, Dominic Fandrey wrote: ... Like that: .if ${.CURDIR:M/usr/src} || ${.CURDIR:M/usr/src/*} CC=clang CXX=clang++ CPP=clang-cpp NO_WERROR= WERROR= .endif I had hoped that the .ifdef construction from the wiki was dated. I suppose it's emulating setting CC in the environment

Re: 9.0 RC1 linking problem with i386 libs on amd64

2011-10-28 Thread Dimitry Andric
On 2011-10-28 22:15, Dominic Fandrey wrote: ... This latter problem is what my patch attempts to fix, while changing as little as possible. An alternative is to pass __MAKE_CONF=/dev/null to the 32-bit stage. That should also work in the environment, see make.conf(5) The problem with this,

Re: [9.0-RC1 FreeBSD] [amd64] buildworld fails on building lib/libss with CLANG

2011-10-29 Thread Dimitry Andric
On 2011-10-29 15:44, David Marec wrote: Running FreebSD 9.0 RC-1, the make buildworld processing failed on the following error on its attempt to build 'lib/libssp': === gnu/lib/libssp/libssp_nonshared (obj,depend,all,install) rm -f .depend CC='clang' mkdep -f .depend -a-DHAVE_CONFIG_H

Re: [9.0-RC1 FreeBSD] [amd64] buildworld fails on building lib/libss with CLANG

2011-10-30 Thread Dimitry Andric
On 2011-10-30 17:55, David Marec wrote: Le 30.10.2011 08:52, Roman Divacky a écrit : On Sun, Oct 30, 2011 at 08:28:42AM +0100, Roman Divacky wrote: This is a bug in clang, llvm supports amdfam10 but the clang counterpart wasnt updated. Thank you for the report! fwiw, I fixed it in clang

Re: WITHOUT_GCC for build target / system without base gcc (9RC1)

2011-10-31 Thread Dimitry Andric
On 2011-10-31 10:53, Jakub Lach wrote: When one can expect being able to have system without base gcc installed? There's quite some work to be done. The trickiest part is to get rid of GNU libstdc++, which is sort of a symbiote with gcc. Also, there are still some programs that hardcode

Re: 9.0/i386 build failure

2011-11-05 Thread Dimitry Andric
On 2011-11-04 20:09, Michael W. Lucas wrote: I suspect I'm building on a system that's too old, but it's worth asking. FreeBSD eyeball.lodden.com 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Sat Aug 29 00:31:14 EDT 2009 mwlu...@stretchlimo.blackhelicopters.org:/usr/obj/usr/src/sys/GENERIC

Re: 9.0/i386 build failure

2011-11-05 Thread Dimitry Andric
On 2011-11-05 14:28, Kostik Belousov wrote: On Sat, Nov 05, 2011 at 02:20:03PM +0100, Dimitry Andric wrote: On 2011-11-04 20:09, Michael W. Lucas wrote: ... : undefined reference to `__sync_add_and_fetch_4' ... The system gcc was changed to assume march=486 some time ago. I suppose

Re: NFS + SVN problem?

2011-11-23 Thread Dimitry Andric
On 2011-11-23 17:41, Sean Bruno wrote: Not sure what this all means, but when I attempt to check out HEAD on an NFS mount in the fbsd cluster (nfs server is a netapp filer), I'm getting an odd failure error. FreeBSD bhyve.freebsd.org 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r227883: Wed Nov 23

Re: [head tinderbox] failure on powerpc/powerpc

2011-11-25 Thread Dimitry Andric
On 2011-11-25 23:30, FreeBSD Tinderbox wrote: ... stage 4.2: building libraries [...] c++ -fpic -DPIC -O2 -pipe -I/src/lib/libcxxrt/../../contrib/libcxxrt -fstack-protector -c /src/lib/libcxxrt/../../contrib/libcxxrt/memory.cc -o memory.So c++ -fpic -DPIC -O2 -pipe

Re: Failure building libdtrace

2012-06-15 Thread Dimitry Andric
On 2012-06-15 22:13, Jeff Ford wrote: When I try to build directly from src/cddl/lib/libdtrace I get a failure because of a missing file dt_grammar.h. This file is generated by dt_grammar.y. On 9, running make in the same directory runs the yacc ahead of cc so the build works. I can fix

Re: [CFC/CFT] large changes in the loader(8) code

2012-06-27 Thread Dimitry Andric
On 2012-06-26 14:50, Andrey V. Elsukov wrote: Some time ago i have started reading the code in the sys/boot. Especially i'm interested in the partition tables handling. I found several problems: 1. There are several copies of the same code in the libi386/biosdisk.c and common/disk.c, and

Re: FYI: SIGBUS with world built by clang

2012-07-04 Thread Dimitry Andric
On 2012-07-04 16:33, Taku YAMAMOTO wrote: For people having SIGBUS with clang-build world + gcc-build binaries, In short words, for any libraries (and never forget about rtld-elf!) which are potentially called from arbitrary binaries, compile them with either -mstackrealign or

Re: [CFT] Add -Wbounded to gcc

2012-07-11 Thread Dimitry Andric
On 2012-07-11 05:41, Pedro Giffuni wrote: I have a patch from OpenBSD that adds -Wbounded to gcc: http://people.freebsd.org/~pfg/patches/patch-gcc-bounded Unfortunately it breaks world, or at least binutils, at this time: _ ... cc1: warnings being treated as errors peigen.c:

Re: -current build failure

2012-07-20 Thread Dimitry Andric
On 2012-07-20 16:49, Kim Culhan wrote: Seeing this for r:238655 ... In file included from /usr/src/sys/modules/dtrace/dtrace/../../../sys/pcpu.h:44: ./machine/pcpu.h:226:13: error: indirection of non-volatile null pointer will be deleted, not trap [-Werror,-Wnull-dereference]

  1   2   3   4   5   6   7   8   >