Re: Compilation error while compiling FreeBSD9-STABLE with Clang

2012-11-14 Thread Alie Tan
Hi

Mine is already the latest. I slready synched my src today. Seems r242907
only for i386? Cmiiw.

Regards,
Alie T

On Wednesday, November 14, 2012, Dimitry Andric d...@freebsd.org wrote:
 On 2012-11-14 04:05, Alie Tan wrote:

 I got compilation error while compiling FreeBSD9-STABLE with Clang:
 -m32 -c /usr/src/sys/boot/i386/boot2/sio.S
 clang: warning: the clang compiler does not support '-fno-unit-at-a-time'
 ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000 -o
 boot2.out /usr/obj/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o
 sio.o
 objcopy -S -O binary boot2.out boot2.bin
 btxld -v -E 0x2000 -f bin -b
 /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr  -o
 boot2.ld -P 1 boot2.bin
 kernel: ver=1.02 size=690 load=9000 entry=9010 map=16M pgctl=1:1
 client: fmt=bin size=1575 text=0 data=0 bss=0 entry=0
 output: fmt=bin size=1e05 text=200 data=1c05 org=0 entry=0
 -5 bytes available
 *** [boot2] Error code 1

 Please update your source tree to at least r242907.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Compilation error while compiling FreeBSD9-STABLE with Clang

2012-11-14 Thread Alie Tan
Ok thanks.

I will try again and delete the src folder before making any compilation.

Regards,
Alie Tan

On Wednesday, November 14, 2012, Alexandre axel...@ymail.com wrote:
 On Wed, Nov 14, 2012 at 3:02 PM, Alie Tan a...@affle.com wrote:
 Hi

 Mine is already the latest. I slready synched my src today. Seems r242907
 only for i386? Cmiiw.

 Regards,
 Alie T

 On Wednesday, November 14, 2012, Dimitry Andric d...@freebsd.org wrote:
 On 2012-11-14 04:05, Alie Tan wrote:

 I got compilation error while compiling FreeBSD9-STABLE with Clang:
 -m32 -c /usr/src/sys/boot/i386/boot2/sio.S
 clang: warning: the clang compiler does not support
'-fno-unit-at-a-time'
 ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000 -o
 boot2.out /usr/obj/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o
boot2.o
 sio.o
 objcopy -S -O binary boot2.out boot2.bin
 btxld -v -E 0x2000 -f bin -b
 /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr  -o
 boot2.ld -P 1 boot2.bin
 kernel: ver=1.02 size=690 load=9000 entry=9010 map=16M pgctl=1:1
 client: fmt=bin size=1575 text=0 data=0 bss=0 entry=0
 output: fmt=bin size=1e05 text=200 data=1c05 org=0 entry=0
 -5 bytes available
 *** [boot2] Error code 1

 Please update your source tree to at least r242907.

 Hi,
 I encountered the problem, but has been resolved yesterday.

 # uname -a
 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r242957: Tue Nov 13 15:24:22
 CET 2012 root@DL380G4:/usr/obj/usr/src/sys/GENERIC  amd64

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Compilation error while compiling FreeBSD9-STABLE with Clang

2012-11-14 Thread Alie Tan
Hi,

Strange, this issue happens when I use cvsup only. Did I miss something
here? Is FreeBSD CVS still syncing with SVN or otherwise?

Regards,
Alie T

On Wed, Nov 14, 2012 at 10:41 PM, Alie Tan a...@affle.com wrote:

 Ok thanks.

 I will try again and delete the src folder before making any compilation.

 Regards,
 Alie Tan

 On Wednesday, November 14, 2012, Alexandre axel...@ymail.com wrote:
  On Wed, Nov 14, 2012 at 3:02 PM, Alie Tan a...@affle.com wrote:
  Hi
 
  Mine is already the latest. I slready synched my src today. Seems
 r242907
  only for i386? Cmiiw.
 
  Regards,
  Alie T
 
  On Wednesday, November 14, 2012, Dimitry Andric d...@freebsd.org
 wrote:
  On 2012-11-14 04:05, Alie Tan wrote:
 
  I got compilation error while compiling FreeBSD9-STABLE with Clang:
  -m32 -c /usr/src/sys/boot/i386/boot2/sio.S
  clang: warning: the clang compiler does not support
 '-fno-unit-at-a-time'
  ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000
 -o
  boot2.out /usr/obj/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o
 boot2.o
  sio.o
  objcopy -S -O binary boot2.out boot2.bin
  btxld -v -E 0x2000 -f bin -b
  /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr  -o
  boot2.ld -P 1 boot2.bin
  kernel: ver=1.02 size=690 load=9000 entry=9010 map=16M pgctl=1:1
  client: fmt=bin size=1575 text=0 data=0 bss=0 entry=0
  output: fmt=bin size=1e05 text=200 data=1c05 org=0 entry=0
  -5 bytes available
  *** [boot2] Error code 1
 
  Please update your source tree to at least r242907.
 
  Hi,
  I encountered the problem, but has been resolved yesterday.
 
  # uname -a
  9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r242957: Tue Nov 13 15:24:22
  CET 2012 root@DL380G4:/usr/obj/usr/src/sys/GENERIC  amd64
 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Compilation error while compiling FreeBSD9-STABLE with Clang

2012-11-14 Thread Alie Tan
 On 14 November 2012 20:40, Alie Tan alie at affle.com wrote:
  Hi,
 
  Strange, this issue happens when I use cvsup only. Did I miss something
  here? Is FreeBSD CVS still syncing with SVN or otherwise?

 known issue atm. people are working on fixing it.


 --
 Eitan Adler

No offense. But why there is no announcement for this issue, at least on
forums.freebsd.org? So people don't waste their time trying to fix the
issue or looking for solution?

Regards,
Alie T
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Compilation error while compiling FreeBSD9-STABLE with Clang

2012-11-13 Thread Alie Tan
Hi.


I got compilation error while compiling FreeBSD9-STABLE with Clang:
   -m32 -c /usr/src/sys/boot/i386/boot2/sio.S
clang: warning: the clang compiler does not support '-fno-unit-at-a-time'
ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000 -o
boot2.out /usr/obj/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o
sio.o
objcopy -S -O binary boot2.out boot2.bin
btxld -v -E 0x2000 -f bin -b
/usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr  -o
boot2.ld -P 1 boot2.bin
kernel: ver=1.02 size=690 load=9000 entry=9010 map=16M pgctl=1:1
client: fmt=bin size=1575 text=0 data=0 bss=0 entry=0
output: fmt=bin size=1e05 text=200 data=1c05 org=0 entry=0
-5 bytes available
*** [boot2] Error code 1


And here is my src.conf
CFLAGS+= -O3 -fno-strict-aliasing -pipe -funroll-loops
CXXFLAGS+= -O3 -fno-strict-aliasing -pipe -funroll-loops
COPTFLAGS+= -O3 -pipe -ffast-math -funroll-loops

CC=clang
CXX=clang++
CPP=clang-cpp

WITH_CLANG=YES
WITH_CLANG_EXTRAS=YES
WITH_CLANG_IS_CC=YES
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


FreeBSD 10-CURRENT and 9-STABLE snapshots

2012-10-07 Thread Alie Tan
Would be better if there is ARM and MIPS build too since we already have 
ARMV6 branch merged to HEAD

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Unable to build RELENG_9 (r234602)

2012-04-24 Thread Alie Tan
Hi,

I got this compilation error for 9-STABLE

-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
-Wno-unused-function -Wno-conversion -Wno-switch-enum -Wno-empty-body -c
/usr/src/usr.sbin/sysinstall/dispatch.c
/usr/src/usr.sbin/sysinstall/dispatch.c:594:17: error: format string is not
a string literal (potentially insecure) [-Werror,-Wformat-security]
msgConfirm(err);

Thanks,
Alie T
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org