Re: service netif restart fails starting ppp/routing

2016-12-18 Thread Ben Woods
On Mon., 19 Dec. 2016 at 1:37 am, O. Hartmann 
wrote:

> After changing paraemters on my router which uses a modem via ppp/pppoed,
> service netif restart
> does not bring up ppp and named!
>
> After "netif restart" and "routing restart" (in this order), tun0 which is
> supposed to
> have the ISP's IP address is empty and named (the router has bind911
> running) is offline
> and needs also to be restarted via "service named restart".
>
> Is there something I miss or is this a serious bug? It is the first time
> on CURRENT
> (FreeBSD 12.0-CURRENT #74 r310129: Fri Dec 16 00:33:09 CET 2016 amd64) I
> realize this
> behaviour. I never had problems before.
>

I was about to say you will also need to do:
# service pppoed restart

But a quick look at that rc script seems to show that stop or restart are
not implemented:
https://github.com/freebsd/freebsd/blob/master/etc/rc.d/pppoed

Having a quick look at my router which also uses pppoe, I note that in
/etc/rc.conf I am not using the pppoed rc script, but the following:
ppp_enable="YES"
ppp_nat="NO"
ppp_profile="myisp"
ppp_myisp_mode="ddial"
ppp_myisp_nat="NO"
ppp_myisp_unit="0"

Therefore when I need to restart my pppoe after making config changes I
would use:
# service ppp restart

Which one are you using in your rc.conf: ppp or pppoe?

In my /etc/ppp/ppp.conf I have the following:
default:
set log Phase tun command # you can add more detailed logging if
you wish
set speed sync
set mru 1492
set mtu 1492
set ctsrts off
enable echo
set echoperiod 15
enable ipv6cp
enable ipcp
set timeout 0
set redial 0 0

myisp:
set ifaddr MY.IP.ADDR.ESS/0 THEIR.IP.ADDR.ESS/0
set server /var/run/ppp/myisp "" 0177
set device PPPoE:INTERFACE
set authname USERNAME
set authkey PASSWORD
set dial
set login
add default HISADDR
disable dns

Note that I handle the NAT and DNS myself through pf and dnsmasq.

Regards,
Ben
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: FreeBSD_HEAD_amd64_gcc - Build #1736 - Still Failing

2016-12-18 Thread Baptiste Daroussin
On Mon, Dec 19, 2016 at 12:01:45AM +0800, Li-Wen Hsu wrote:
> On Sun, Dec 18, 2016 at 15:39:50 +0100, Baptiste Daroussin wrote:
> > On Sun, Dec 18, 2016 at 03:18:47PM +0100, Dimitry Andric wrote:
> > > On 18 Dec 2016, at 12:48, jenkins-ad...@freebsd.org wrote:
> > > > 
> > > > FreeBSD_HEAD_amd64_gcc - Build #1736 - Still Failing:
> > > > 
> > > > Build information: 
> > > > https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gcc/1736/
> > > ...
> > > > --- atf-check.full ---
> > > > /usr/local/bin/x86_64-portbld-freebsd10.1-g++ -isystem 
> > > > /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/include/c++/v1
> > > >  -std=c++11 -nostdinc++ -isystem 
> > > > /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/include
> > > >  
> > > > -L/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/lib
> > > >  
> > > > -B/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/lib
> > > >  
> > > > --sysroot=/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp
> > > >  -B/usr/local/x86_64-freebsd/bin/ -O2 -pipe -DHAVE_CONFIG_H 
> > > > -I/builds/FreeBSD_HEAD_amd64_gcc/contrib/atf -DATF_SHELL='"/bin/sh"' -g 
> > > > -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W 
> > > > -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -Wformat=2 
> > > > -Wno-format-extra-args -Wno-error=address -Wno-error=array-bounds 
> > > > -Wno-error=attributes -Wno-error=bool-compare -Wno-error=cast-align 
> > > > -Wno-error=clobbered -Wno-error=enum-compare -Wno-error=extra 
> > > > -Wno-error=inline -Wno-error=logical-not-parentheses 
> > > > -Wno-error=strict-aliasing -Wno-error=uninitialized 
> > > > -Wno-error=unused-but-set-variable -Wno-error=unused-function 
> > > > -Wno-error=unused-value -Wno-error=strict-overflow 
> > > > -Wno-error=misleading-indentation -Wno-error=nonnull-compare 
> > > > -Wno-error=shift-negative-value -Wno-error=tautological-compare 
> > > > -Wno-error=unused-const-variable  -o atf-check.full  atf-check.o 
> > > > -lprivateatf-c++ -lprivateatf-c
> > > > --- all_subdir_lib ---
> > > > --- mulosi4.po ---
> > > > /usr/local/bin/x86_64-portbld-freebsd10.1-gcc -isystem 
> > > > /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/include
> > > >  
> > > > -L/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/lib
> > > >  
> > > > -B/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/lib
> > > >  
> > > > --sysroot=/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp
> > > >  -B/usr/local/x86_64-freebsd/bin/ -pg  -O2 -pipe   -fpic 
> > > > -fvisibility=hidden -DVISIBILITY_HIDDEN 
> > > > -I/builds/FreeBSD_HEAD_amd64_gcc/contrib/libcxxrt -MD  
> > > > -MF.depend.mulosi4.po -MTmulosi4.po -std=gnu99 -fstack-protector-strong 
> > > > -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized 
> > > > -Wno-pointer-sign -Wno-error=address -Wno-error=array-bounds 
> > > > -Wno-error=attributes -Wno-error=bool-compare -Wno-error=cast-align 
> > > > -Wno-error=clobbered -Wno-error=enum-compare -Wno-error=extra 
> > > > -Wno-error=inline -Wno-error=logical-not-parentheses 
> > > > -Wno-error=strict-aliasing -Wno-error=uninitialized 
> > > > -Wno-error=unused-but-set-variable -Wno-error=unused-function 
> > > > -Wno-error=unused-value -Wno-error=strict-overflow 
> > > > -Wno-error=misleading-indentation -Wno-error=nonnull-compare 
> > > > -Wno-error=shift-negative-value -Wno-error=tautological-compare 
> > > > -Wno-error=unused-const-variable -c 
> > > > /builds/FreeBSD_HEAD_amd64_gcc/contrib/compiler-rt/lib/builtins/mulosi4.c
> > > >  -o mulosi4.po
> > > > --- all_subdir_bin ---
> > > > --- dd.1.gz ---
> > > > gzip -cn /builds/FreeBSD_HEAD_amd64_gcc/bin/dd/dd.1 > dd.1.gz
> > > > --- dd.debug ---
> > > > /usr/local/x86_64-freebsd/bin/objcopy --only-keep-debug dd.full dd.debug
> > > > --- dd ---
> > > > /usr/local/x86_64-freebsd/bin/objcopy --strip-debug 
> > > > --add-gnu-debuglink=dd.debug  dd.full dd
> > > > --- all_subdir_bin/df ---
> > > > ===> bin/df (all)
> > > > --- all_subdir_libexec ---
> > > > /usr/local/bin/x86_64-freebsd-ld: atf-check.o: relocation R_X86_64_32 
> > > > against symbol `_ZTIN3atf12system_errorE' can not be used when making a 
> > > > shared object; recompile with -fPIC
> > > > /usr/local/bin/x86_64-freebsd-ld: final link failed: Nonrepresentable 
> > > > section on output
> > > > collect2: error: ld returned 1 exit status
> > > > *** [atf-check.full] Error code 1
> > > 
> > > Baptiste, is this the problem again with -lstdc++ being linked in 
> > > accidentally again?
> > 
> > Should not be, is the object directory always cleaned before building? by
> > cleaned I mean rm -rf
> 

There was another mistake in amd64-gcc which I have just fixed and would make
updating to 6.2.0 wait another round of package build

Best regards,
Bapt


signature.asc
Description: PGP signature


service netif restart fails starting ppp/routing

2016-12-18 Thread O. Hartmann
After changing paraemters on my router which uses a modem via ppp/pppoed, 

service netif restart

does not bring up ppp and named!

After "netif restart" and "routing restart" (in this order), tun0 which is 
supposed to
have the ISP's IP address is empty and named (the router has bind911 running) 
is offline
and needs also to be restarted via "service named restart".

Is there something I miss or is this a serious bug? It is the first time on 
CURRENT
(FreeBSD 12.0-CURRENT #74 r310129: Fri Dec 16 00:33:09 CET 2016 amd64) I 
realize this
behaviour. I never had problems before.

Regards,

oh

-- 
O. Hartmann

Ich widerspreche der Nutzung oder Übermittlung meiner Daten für
Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG).


pgpvZtaZCyOSf.pgp
Description: OpenPGP digital signature


Re: FreeBSD_HEAD_amd64_gcc - Build #1736 - Still Failing

2016-12-18 Thread Li-Wen Hsu
On Sun, Dec 18, 2016 at 15:39:50 +0100, Baptiste Daroussin wrote:
> On Sun, Dec 18, 2016 at 03:18:47PM +0100, Dimitry Andric wrote:
> > On 18 Dec 2016, at 12:48, jenkins-ad...@freebsd.org wrote:
> > > 
> > > FreeBSD_HEAD_amd64_gcc - Build #1736 - Still Failing:
> > > 
> > > Build information: 
> > > https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gcc/1736/
> > ...
> > > --- atf-check.full ---
> > > /usr/local/bin/x86_64-portbld-freebsd10.1-g++ -isystem 
> > > /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/include/c++/v1
> > >  -std=c++11 -nostdinc++ -isystem 
> > > /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/include
> > >  
> > > -L/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/lib
> > >  
> > > -B/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/lib
> > >  
> > > --sysroot=/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp
> > >  -B/usr/local/x86_64-freebsd/bin/ -O2 -pipe -DHAVE_CONFIG_H 
> > > -I/builds/FreeBSD_HEAD_amd64_gcc/contrib/atf -DATF_SHELL='"/bin/sh"' -g 
> > > -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W 
> > > -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -Wformat=2 
> > > -Wno-format-extra-args -Wno-error=address -Wno-error=array-bounds 
> > > -Wno-error=attributes -Wno-error=bool-compare -Wno-error=cast-align 
> > > -Wno-error=clobbered -Wno-error=enum-compare -Wno-error=extra 
> > > -Wno-error=inline -Wno-error=logical-not-parentheses 
> > > -Wno-error=strict-aliasing -Wno-error=uninitialized 
> > > -Wno-error=unused-but-set-variable -Wno-error=unused-function 
> > > -Wno-error=unused-value -Wno-error=strict-overflow 
> > > -Wno-error=misleading-indentation -Wno-error=nonnull-compare 
> > > -Wno-error=shift-negative-value -Wno-error=tautological-compare 
> > > -Wno-error=unused-const-variable  -o atf-check.full  atf-check.o 
> > > -lprivateatf-c++ -lprivateatf-c
> > > --- all_subdir_lib ---
> > > --- mulosi4.po ---
> > > /usr/local/bin/x86_64-portbld-freebsd10.1-gcc -isystem 
> > > /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/include
> > >  
> > > -L/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/lib
> > >  
> > > -B/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/lib
> > >  
> > > --sysroot=/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp
> > >  -B/usr/local/x86_64-freebsd/bin/ -pg  -O2 -pipe   -fpic 
> > > -fvisibility=hidden -DVISIBILITY_HIDDEN 
> > > -I/builds/FreeBSD_HEAD_amd64_gcc/contrib/libcxxrt -MD  
> > > -MF.depend.mulosi4.po -MTmulosi4.po -std=gnu99 -fstack-protector-strong 
> > > -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized 
> > > -Wno-pointer-sign -Wno-error=address -Wno-error=array-bounds 
> > > -Wno-error=attributes -Wno-error=bool-compare -Wno-error=cast-align 
> > > -Wno-error=clobbered -Wno-error=enum-compare -Wno-error=extra 
> > > -Wno-error=inline -Wno-error=logical-not-parentheses 
> > > -Wno-error=strict-aliasing -Wno-error=uninitialized 
> > > -Wno-error=unused-but-set-variable -Wno-error=unused-function 
> > > -Wno-error=unused-value -Wno-error=strict-overflow 
> > > -Wno-error=misleading-indentation -Wno-error=nonnull-compare 
> > > -Wno-error=shift-negative-value -Wno-error=tautological-compare 
> > > -Wno-error=unused-const-variable -c 
> > > /builds/FreeBSD_HEAD_amd64_gcc/contrib/compiler-rt/lib/builtins/mulosi4.c 
> > > -o mulosi4.po
> > > --- all_subdir_bin ---
> > > --- dd.1.gz ---
> > > gzip -cn /builds/FreeBSD_HEAD_amd64_gcc/bin/dd/dd.1 > dd.1.gz
> > > --- dd.debug ---
> > > /usr/local/x86_64-freebsd/bin/objcopy --only-keep-debug dd.full dd.debug
> > > --- dd ---
> > > /usr/local/x86_64-freebsd/bin/objcopy --strip-debug 
> > > --add-gnu-debuglink=dd.debug  dd.full dd
> > > --- all_subdir_bin/df ---
> > > ===> bin/df (all)
> > > --- all_subdir_libexec ---
> > > /usr/local/bin/x86_64-freebsd-ld: atf-check.o: relocation R_X86_64_32 
> > > against symbol `_ZTIN3atf12system_errorE' can not be used when making a 
> > > shared object; recompile with -fPIC
> > > /usr/local/bin/x86_64-freebsd-ld: final link failed: Nonrepresentable 
> > > section on output
> > > collect2: error: ld returned 1 exit status
> > > *** [atf-check.full] Error code 1
> > 
> > Baptiste, is this the problem again with -lstdc++ being linked in 
> > accidentally again?
> 
> Should not be, is the object directory always cleaned before building? by
> cleaned I mean rm -rf

Seems not, I just added rm -fr ${MAKEOBJDIRPREFIX} to build script.

Best,
Li-Wen


-- 
Li-Wen Hsu 
https://lwhsu.org


signature.asc
Description: PGP signature


Re: r310188: kernel build failure due to mlx4_ib_sysfs.c:90:22: error: format specifies type 'unsigned long long

2016-12-18 Thread O. Hartmann
Am Sun, 18 Dec 2016 16:22:31 +0100
Dimitry Andric  schrieb:

> On 18 Dec 2016, at 16:10, O. Hartmann  wrote:
> > 
> > Am Sat, 17 Dec 2016 18:27:18 +0100
> > Dimitry Andric  schrieb:
> >   
> >> On 17 Dec 2016, at 12:46, O. Hartmann  wrote:  
> >>> 
> >>> Recent kernel source reject to build:
> >>> 
> >>> [...]
> >>> --- all_subdir_mlx4ib ---
> >>> --- mlx4_ib_sysfs.o ---
> >>> /usr/src/sys/modules/mlx4ib/../../dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c:90:22: 
> >>> error:
> >>> format specifies type 'unsigned long long *' but the argument has type 
> >>> 'u64 *' (aka
> >>> 'unsigned long *') [-Werror,-Wformat] sscanf(buf, "%llx", 
> >>> _ag_val); 
> >>> ^~~~ %lx
> >>> 1 error generated.  
> >> 
> >> Ha, my r310171, which enabled sscanf() format checking, is already
> >> working, it seems!  I built kernels for both i386 and amd64 without
> >> problems, but you may be using some non-default module or settings which
> >> trigger this warning.
> >> 
> >> For which arch are you building here, and do you have any particular
> >> build settings which might influence this?
> >> 
> >> -Dimitry
> >>   
> > 
> > Still with revision 310228 :-(  
> 
> After reviewing by the mlx4ib maintainer, this should now be fixed with 
> r310232.
> 
> -Dimitry
> 

Yes it is ;-)
Thank you.

oh


-- 
O. Hartmann

Ich widerspreche der Nutzung oder Übermittlung meiner Daten für
Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG).


pgp8MpnkXYduG.pgp
Description: OpenPGP digital signature


Re: r310188: kernel build failure due to mlx4_ib_sysfs.c:90:22: error: format specifies type 'unsigned long long

2016-12-18 Thread Dimitry Andric
On 18 Dec 2016, at 16:10, O. Hartmann  wrote:
> 
> Am Sat, 17 Dec 2016 18:27:18 +0100
> Dimitry Andric  schrieb:
> 
>> On 17 Dec 2016, at 12:46, O. Hartmann  wrote:
>>> 
>>> Recent kernel source reject to build:
>>> 
>>> [...]
>>> --- all_subdir_mlx4ib ---
>>> --- mlx4_ib_sysfs.o ---
>>> /usr/src/sys/modules/mlx4ib/../../dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c:90:22: 
>>> error:
>>> format specifies type 'unsigned long long *' but the argument has type 'u64 
>>> *' (aka
>>> 'unsigned long *') [-Werror,-Wformat] sscanf(buf, "%llx", 
>>> _ag_val); 
>>> ^~~~ %lx
>>> 1 error generated.
>> 
>> Ha, my r310171, which enabled sscanf() format checking, is already
>> working, it seems!  I built kernels for both i386 and amd64 without
>> problems, but you may be using some non-default module or settings which
>> trigger this warning.
>> 
>> For which arch are you building here, and do you have any particular
>> build settings which might influence this?
>> 
>> -Dimitry
>> 
> 
> Still with revision 310228 :-(

After reviewing by the mlx4ib maintainer, this should now be fixed with r310232.

-Dimitry



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: r310188: kernel build failure due to mlx4_ib_sysfs.c:90:22: error: format specifies type 'unsigned long long

2016-12-18 Thread O. Hartmann
Am Sat, 17 Dec 2016 18:27:18 +0100
Dimitry Andric  schrieb:

> On 17 Dec 2016, at 12:46, O. Hartmann  wrote:
> > 
> > Recent kernel source reject to build:
> > 
> > [...]
> > --- all_subdir_mlx4ib ---
> > --- mlx4_ib_sysfs.o ---
> > /usr/src/sys/modules/mlx4ib/../../dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c:90:22: 
> > error:
> > format specifies type 'unsigned long long *' but the argument has type 'u64 
> > *' (aka
> > 'unsigned long *') [-Werror,-Wformat] sscanf(buf, "%llx", 
> > _ag_val); 
> > ^~~~ %lx
> > 1 error generated.  
> 
> Ha, my r310171, which enabled sscanf() format checking, is already
> working, it seems!  I built kernels for both i386 and amd64 without
> problems, but you may be using some non-default module or settings which
> trigger this warning.
> 
> For which arch are you building here, and do you have any particular
> build settings which might influence this?
> 
> -Dimitry
> 

Still with revision 310228 :-(
 
-- 
O. Hartmann

Ich widerspreche der Nutzung oder Übermittlung meiner Daten für
Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG).


pgpJfqiwhbQDe.pgp
Description: OpenPGP digital signature


Re: FreeBSD_HEAD_amd64_gcc - Build #1736 - Still Failing

2016-12-18 Thread Baptiste Daroussin
On Sun, Dec 18, 2016 at 03:18:47PM +0100, Dimitry Andric wrote:
> On 18 Dec 2016, at 12:48, jenkins-ad...@freebsd.org wrote:
> > 
> > FreeBSD_HEAD_amd64_gcc - Build #1736 - Still Failing:
> > 
> > Build information: 
> > https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gcc/1736/
> ...
> > --- atf-check.full ---
> > /usr/local/bin/x86_64-portbld-freebsd10.1-g++ -isystem 
> > /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/include/c++/v1
> >  -std=c++11 -nostdinc++ -isystem 
> > /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/include
> >  
> > -L/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/lib
> >  
> > -B/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/lib
> >  
> > --sysroot=/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp
> >  -B/usr/local/x86_64-freebsd/bin/ -O2 -pipe -DHAVE_CONFIG_H 
> > -I/builds/FreeBSD_HEAD_amd64_gcc/contrib/atf -DATF_SHELL='"/bin/sh"' -g 
> > -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W 
> > -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -Wformat=2 
> > -Wno-format-extra-args -Wno-error=address -Wno-error=array-bounds 
> > -Wno-error=attributes -Wno-error=bool-compare -Wno-error=cast-align 
> > -Wno-error=clobbered -Wno-error=enum-compare -Wno-error=extra 
> > -Wno-error=inline -Wno-error=logical-not-parentheses 
> > -Wno-error=strict-aliasing -Wno-error=uninitialized 
> > -Wno-error=unused-but-set-variable -Wno-error=unused-function 
> > -Wno-error=unused-value -Wno-error=strict-overflow 
> > -Wno-error=misleading-indentation -Wno-error=nonnull-compare 
> > -Wno-error=shift-negative-value -Wno-error=tautological-compare 
> > -Wno-error=unused-const-variable  -o atf-check.full  atf-check.o 
> > -lprivateatf-c++ -lprivateatf-c
> > --- all_subdir_lib ---
> > --- mulosi4.po ---
> > /usr/local/bin/x86_64-portbld-freebsd10.1-gcc -isystem 
> > /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/include
> >  
> > -L/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/lib
> >  
> > -B/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/lib
> >  
> > --sysroot=/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp
> >  -B/usr/local/x86_64-freebsd/bin/ -pg  -O2 -pipe   -fpic 
> > -fvisibility=hidden -DVISIBILITY_HIDDEN 
> > -I/builds/FreeBSD_HEAD_amd64_gcc/contrib/libcxxrt -MD  
> > -MF.depend.mulosi4.po -MTmulosi4.po -std=gnu99 -fstack-protector-strong 
> > -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign 
> > -Wno-error=address -Wno-error=array-bounds -Wno-error=attributes 
> > -Wno-error=bool-compare -Wno-error=cast-align -Wno-error=clobbered 
> > -Wno-error=enum-compare -Wno-error=extra -Wno-error=inline 
> > -Wno-error=logical-not-parentheses -Wno-error=strict-aliasing 
> > -Wno-error=uninitialized -Wno-error=unused-but-set-variable 
> > -Wno-error=unused-function -Wno-error=unused-value 
> > -Wno-error=strict-overflow -Wno-error=misleading-indentation 
> > -Wno-error=nonnull-compare -Wno-error=shift-negative-value 
> > -Wno-error=tautological-compare -Wno-error=unused-const-variable -c 
> > /builds/FreeBSD_HEAD_amd64_gcc/contrib/compiler-rt/lib/builtins/mulosi4.c 
> > -o mulosi4.po
> > --- all_subdir_bin ---
> > --- dd.1.gz ---
> > gzip -cn /builds/FreeBSD_HEAD_amd64_gcc/bin/dd/dd.1 > dd.1.gz
> > --- dd.debug ---
> > /usr/local/x86_64-freebsd/bin/objcopy --only-keep-debug dd.full dd.debug
> > --- dd ---
> > /usr/local/x86_64-freebsd/bin/objcopy --strip-debug 
> > --add-gnu-debuglink=dd.debug  dd.full dd
> > --- all_subdir_bin/df ---
> > ===> bin/df (all)
> > --- all_subdir_libexec ---
> > /usr/local/bin/x86_64-freebsd-ld: atf-check.o: relocation R_X86_64_32 
> > against symbol `_ZTIN3atf12system_errorE' can not be used when making a 
> > shared object; recompile with -fPIC
> > /usr/local/bin/x86_64-freebsd-ld: final link failed: Nonrepresentable 
> > section on output
> > collect2: error: ld returned 1 exit status
> > *** [atf-check.full] Error code 1
> 
> Baptiste, is this the problem again with -lstdc++ being linked in 
> accidentally again?

Should not be, is the object directory always cleaned before building? by
cleaned I mean rm -rf

Best regards,
Bapt


signature.asc
Description: PGP signature


Re: FreeBSD_HEAD_amd64_gcc - Build #1736 - Still Failing

2016-12-18 Thread Dimitry Andric
On 18 Dec 2016, at 12:48, jenkins-ad...@freebsd.org wrote:
> 
> FreeBSD_HEAD_amd64_gcc - Build #1736 - Still Failing:
> 
> Build information: 
> https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gcc/1736/
...
> --- atf-check.full ---
> /usr/local/bin/x86_64-portbld-freebsd10.1-g++ -isystem 
> /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/include/c++/v1
>  -std=c++11 -nostdinc++ -isystem 
> /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/include
>  
> -L/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/lib
>  
> -B/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/lib
>  
> --sysroot=/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp
>  -B/usr/local/x86_64-freebsd/bin/ -O2 -pipe -DHAVE_CONFIG_H 
> -I/builds/FreeBSD_HEAD_amd64_gcc/contrib/atf -DATF_SHELL='"/bin/sh"' -g 
> -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W 
> -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -Wformat=2 
> -Wno-format-extra-args -Wno-error=address -Wno-error=array-bounds 
> -Wno-error=attributes -Wno-error=bool-compare -Wno-error=cast-align 
> -Wno-error=clobbered -Wno-error=enum-compare -Wno-error=extra 
> -Wno-error=inline -Wno-error=logical-not-parentheses 
> -Wno-error=strict-aliasing -Wno-error=uninitialized 
> -Wno-error=unused-but-set-variable -Wno-error=unused-function 
> -Wno-error=unused-value -Wno-error=strict-overflow 
> -Wno-error=misleading-indentation -Wno-error=nonnull-compare 
> -Wno-error=shift-negative-value -Wno-error=tautological-compare 
> -Wno-error=unused-const-variable  -o atf-check.full  atf-check.o 
> -lprivateatf-c++ -lprivateatf-c
> --- all_subdir_lib ---
> --- mulosi4.po ---
> /usr/local/bin/x86_64-portbld-freebsd10.1-gcc -isystem 
> /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/include
>  
> -L/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/lib
>  
> -B/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/lib
>  
> --sysroot=/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp
>  -B/usr/local/x86_64-freebsd/bin/ -pg  -O2 -pipe   -fpic -fvisibility=hidden 
> -DVISIBILITY_HIDDEN -I/builds/FreeBSD_HEAD_amd64_gcc/contrib/libcxxrt -MD  
> -MF.depend.mulosi4.po -MTmulosi4.po -std=gnu99 -fstack-protector-strong 
> -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign 
> -Wno-error=address -Wno-error=array-bounds -Wno-error=attributes 
> -Wno-error=bool-compare -Wno-error=cast-align -Wno-error=clobbered 
> -Wno-error=enum-compare -Wno-error=extra -Wno-error=inline 
> -Wno-error=logical-not-parentheses -Wno-error=strict-aliasing 
> -Wno-error=uninitialized -Wno-error=unused-but-set-variable 
> -Wno-error=unused-function -Wno-error=unused-value -Wno-error=strict-overflow 
> -Wno-error=misleading-indentation -Wno-error=nonnull-compare 
> -Wno-error=shift-negative-value -Wno-error=tautological-compare 
> -Wno-error=unused-const-variable -c 
> /builds/FreeBSD_HEAD_amd64_gcc/contrib/compiler-rt/lib/builtins/mulosi4.c -o 
> mulosi4.po
> --- all_subdir_bin ---
> --- dd.1.gz ---
> gzip -cn /builds/FreeBSD_HEAD_amd64_gcc/bin/dd/dd.1 > dd.1.gz
> --- dd.debug ---
> /usr/local/x86_64-freebsd/bin/objcopy --only-keep-debug dd.full dd.debug
> --- dd ---
> /usr/local/x86_64-freebsd/bin/objcopy --strip-debug 
> --add-gnu-debuglink=dd.debug  dd.full dd
> --- all_subdir_bin/df ---
> ===> bin/df (all)
> --- all_subdir_libexec ---
> /usr/local/bin/x86_64-freebsd-ld: atf-check.o: relocation R_X86_64_32 against 
> symbol `_ZTIN3atf12system_errorE' can not be used when making a shared 
> object; recompile with -fPIC
> /usr/local/bin/x86_64-freebsd-ld: final link failed: Nonrepresentable section 
> on output
> collect2: error: ld returned 1 exit status
> *** [atf-check.full] Error code 1

Baptiste, is this the problem again with -lstdc++ being linked in accidentally 
again?

-Dimitry



signature.asc
Description: Message signed with OpenPGP using GPGMail


FreeBSD_HEAD_amd64_gcc - Build #1736 - Still Failing

2016-12-18 Thread jenkins-admin
FreeBSD_HEAD_amd64_gcc - Build #1736 - Still Failing:

Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gcc/1736/
Full change log: 
https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gcc/1736/changes
Full build log: 
https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gcc/1736/console

Change summaries:

310205 by kib:
Fix typo.  Remove spurious blank line.

MFC after:  3 days

310204 by jchandra:
Initialize GIC[DR]_IGROUPRn registers for GICv3

In case where GICD_CTLR.DS is 1, the IGROUPR registers are RW in
non-secure state and has to be initialized to 1 for the
corresponding interrupts to be delivered as Group 1 interrupts.

Update gic_v3_dist_init() and gic_v3_redist_init() to initialize
GICD_IGROUPRn and GICR_IGROUPRn respectively to address this. The
registers can be set unconditionally since the writes are ignored
in non-secure state when GICD_CTLR.DS is 0.

This fixes the hang on boot seen when running qemu-system-aarch64
with machine virt,gic-version=3

310203 by ngie:
Clean up parse_ip(..)

- Clean up trailing whitespace
- Fix variable alignment

MFC after:  1 week

310202 by ngie:
Clean up trailing and leading whitespace

Fix variable type alignment in snmp_dialog(..)

MFC after:  1 week

310201 by bapt:
Update locales cldr to v30.0.3 and unicode to 9.0.0

MFC after:  1 month
Relnotes:   yes

310200 by bapt:
In order to prepare cldr v30.0.3 and unicode 9.0.0,
more locales are removed from automatic mapping from unicode as their
encoding does not supports new characters available in unicode

310199 by bapt:
Better handle posix names for locales

310198 by bapt:
Simplify extraction of static collation definition

310197 by bapt:
Prepare import of CLDR v30.3 and unicode 9.0.0

Upstream kk_Cyrl_KZ has been renamed kk_KZ
Upstream mn_Cyrl_MN has been renamed mn_MN

For ru_RU: the default currency for unicode is now ₽ which is not mapped to
other encoding, add charmaps entries to be able to generate them

310196 by ngie:
Fix some minor typos with begemotBridgeTpLearnedEntryDiscards and
begemotBridgeTpMaxAddresses

Bump LAST-UPDATED for the MIB, per the change

MFC after:  1 week

310194 by dim:
Upgrade our copies of clang, llvm, lld, lldb, compiler-rt and libc++ to
3.9.1 release.

Please note that from 3.5.0 onwards, clang, llvm and lldb require C++11
support to build; see UPDATING for more information.

Release notes for llvm, clang and lld will be available here:




Relnotes:   yes
MFC after:  2 weeks
X-MFC-with: r309124

310193 by tuexen:
Fix the handling of buffered messages in stream reset deferred handling.

Thanks to Eugen-Andrei Gavriloaie for reporting the issue and providing
substantial help in nailing down the issue.

MFC after:  1 week

310190 by jchandra:
Simplify interrupt mask programming in pl011 uart

Remove unused fields from uart_pl011_softc. Add an interrupt mask
field to the softc and use it to set the interrupt mask register.

There should be no functional change introduced here except in the
grab and ungrab functions. In these functions, we now disable and
enable all interrupts rather than just the receive interrupt.

310189 by skra:
Fix sscanf() format string to match an argument. This also fixes kernel
build after r310171.

MFC after:  1 weeks



The end of the build log:

[...truncated 102526 lines...]
--- format_string_test ---
echo '#! /usr/libexec/atf-sh' > format_string_test.tmp
cat /builds/FreeBSD_HEAD_amd64_gcc/bin/date/tests/format_string_test.sh 
>>format_string_test.tmp
chmod +x format_string_test.tmp
mv format_string_test.tmp format_string_test
--- Kyuafile ---
--- date.full ---
/usr/local/bin/x86_64-portbld-freebsd10.1-gcc -isystem 
/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/include
 -L/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/lib 
-B/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/usr/lib 
--sysroot=/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp 
-B/usr/local/x86_64-freebsd/bin/ -O2 -pipe -g -std=gnu99 
-fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W 
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter 
-Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -Wno-error=address 
-Wno-error=array-bounds -Wno-error=attributes -Wno-error=bool-compare 
-Wno-error=cast-align -Wno-error=clobbered -Wno-error=enum-compare 
-Wno-error=extra -Wno-error=inline -Wno-error=logical-not-parentheses 
-Wno-error=strict-aliasing -Wno-error=uninitialized 
-Wno-error=unused-but-set-variable -Wno-error=unused-function 
-Wno-error=unused-value 

Re: A quick question

2016-12-18 Thread Dave Cottlehuber
On Sun, 18 Dec 2016, at 10:07, blubee blubeeme wrote:
> Hi
> 
> I am on a Macbook pro 11,3 and I wanted to start trying to help sort out
> some problems that might be too small for the overall team but might help
> others in the future.

\o/ there are a few of us about, I'm using a MacBookPro 11,2.

> Anyways I am on 12-CURRENT but when I installed from the USB stick I
> didn't
> check the docs and 32 bit binaries.
> 
> svn checkout svn://svn.freebsd.org/base/head /usr/src
> svn checkout svn://svn.freebsd.org/ports/head /usr/ports
> svn checkout svn://svn.freebsd.org/doc/head /usr/doc
> 
> once I do the above steps, do I have to rebuild the entire world?
> Currently
> all I am missing is the 32 bit binaries, could I just rebuild those
> instead
> of building the entire system?
> 
> 
> Best,
> Owen

Hi Owen

You probably only need to unpack
http://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/12.0-CURRENT/*.txz ;
I'm assuming this snapshot is still from the same date as your
installer. If your USB stick has the txz on it, then you can extract
them from there as well. Something like

tar -xf docs.txz -C /

is probably all you need. NB not tested, viz xkcd.com/1168

A+
Dave
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


A quick question

2016-12-18 Thread blubee blubeeme
Hi

I am on a Macbook pro 11,3 and I wanted to start trying to help sort out
some problems that might be too small for the overall team but might help
others in the future.

Anyways I am on 12-CURRENT but when I installed from the USB stick I didn't
check the docs and 32 bit binaries.

svn checkout svn://svn.freebsd.org/base/head /usr/src
svn checkout svn://svn.freebsd.org/ports/head /usr/ports
svn checkout svn://svn.freebsd.org/doc/head /usr/doc

once I do the above steps, do I have to rebuild the entire world? Currently
all I am missing is the 32 bit binaries, could I just rebuild those instead
of building the entire system?


Best,
Owen
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"