Re: svn commit: r324646 - in head/sys/boot/efi: boot1 libefi loader

2017-10-17 Thread Alastair Hogge
On Mon, 16 Oct 2017-10-16 03:59:12 Warner Losh wrote:
> Author: imp
> Date: Mon Oct 16 03:59:11 2017
> New Revision: 324646
> URL: https://svnweb.freebsd.org/changeset/base/324646
> 
> Log:
>   Unify boot1 with loader
> 
>   Refactor boot1 to use the same I/O code as /boot/loader uses. Refactor
>   to use the common efi_main.c.
> 
>   Submitted by: Eric McCorkle
>   Differential Revision: https://reviews.freebsd.org/D10447
> 

Hi Warner & Eric, thanks for the top stuff, however, I think at least one
ZFS compile time option was missed:

cc -target x86_64-unknown-freebsd12.0 --sysroot=/tmp/direwolf/usr/src/tmp 
-B/tmp/direwolf/usr/src/tmp/usr/bin  -O2 -pipe -ffreestanding -Wformat -mno-mmx 
-mno-sse -mno-avx -msoft-float -fshort-wchar -mno-red-zone -mno-aes -march=bd
ver2  -DLOADER_UFS_SUPPORT -DLOADER_DISK_SUPPORT -DLOADER_GPT_SUPPORT 
-DLOADER_MBR_SUPPORT -DLOADER_GELI_SUPPORT -I/usr/src/sys/boot/libsa 
-I/usr/src/sys/boot/common -I. -I/usr/src/sys/boot/efi/boot1/../include 
-I/usr/src/sys/boot/
efi/boot1/../include/amd64 
-I/usr/src/sys/boot/efi/boot1/../../../contrib/dev/acpica/include 
-I/usr/src/sys/boot/efi/boot1/../../.. -DEFI_UFS_BOOT 
-I/usr/src/sys/boot/efi/boot1/../../common -fPIC -ffreestanding -Wformat 
-mno-mmx -m
no-sse -mno-avx -msoft-float -fshort-wchar -mno-red-zone -mno-aes -MD  
-MF.depend.boot1.o -MTboot1.o -std=gnu99 -Wsystem-headers -Werror -Wall 
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpoin
ter-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body 
-Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare 
-Wno-unused-value -Wno-parentheses-equality -Wno-unused-function 
-Wno-enum-conversion -Wno-unu
sed-local-typedef -Wno-address-of-packed-member -Wno-format -Qunused-arguments  
-c /usr/src/sys/boot/efi/boot1/boot1.c -o boot1.o   
   
/usr/src/sys/boot/efi/boot1/boot1.c:269:1: error: no previous prototype for 
function 'efi_zfs_is_preferred' [-Werror,-Wmissing-prototypes]  
   
efi_zfs_is_preferred(EFI_HANDLE *h)

> Added:
>   head/sys/boot/efi/libefi/efi_main.c   (contents, props changed)
>  - copied, changed from r324645, head/sys/boot/efi/loader/efi_main.c
> Deleted:
>   head/sys/boot/efi/boot1/boot_module.h
>   head/sys/boot/efi/boot1/ufs_module.c
>   head/sys/boot/efi/boot1/zfs_module.c
>   head/sys/boot/efi/loader/efi_main.c
> Modified:
>   head/sys/boot/efi/boot1/Makefile
>   head/sys/boot/efi/boot1/boot1.c
>   head/sys/boot/efi/libefi/Makefile
>   head/sys/boot/efi/loader/Makefile

 [leading diff removed]

> -/*
> - * devpath_last returns the last non-path end node in devpath.
> - */
> -static EFI_DEVICE_PATH *
> -devpath_last(EFI_DEVICE_PATH *devpath)
> +bool
> +efi_zfs_is_preferred(EFI_HANDLE *h)
>  {
> + return (check_preferred(h));
> +}

Should this function be conditional on #ifdef EFI_ZFS_BOOT? There could be 
others,
however, my buildworld has stumbled here for the moment, and I am hitting the
horizontal now.

To good health
-- 
Only fools are quoted.
-- Anonymous


signature.asc
Description: This is a digitally signed message part.


Re: svn commit: r283572 - head

2015-05-30 Thread Alastair Hogge
On 2015-05-26 Tue 16:25:29 + Baptiste Daroussin , wrote:
> Author: bapt
> Date: Tue May 26 16:25:28 2015
> New Revision: 283572
> URL: https://svnweb.freebsd.org/changeset/base/283572
> 
> Log:
>   Fix build WITHOUT_CDDL by unconditionnaly adding libproc and librtld_db
>   on supported arches to the prebuild libs

Thank you.

--
"I keep seeing spots in front of my eyes."
"Did you ever see a doctor?"
"No, just spots."
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


Re: svn commit: r283132 - head/lib/libproc

2015-05-26 Thread Alastair Hogge
On 2015-05-19 Tue 22:23:16 + Baptiste Daroussin , wrote:

Hi,

> Author: bapt
> Date: Tue May 19 22:23:15 2015
> New Revision: 283132
> URL: https://svnweb.freebsd.org/changeset/base/283132
>
> Log:
>   Fix underlinking
>
> Modified:
>   head/lib/libproc/Makefile
>
> Modified: head/lib/libproc/Makefile
> ==
> --- head/lib/libproc/Makefile Tue May 19 22:22:53 2015(r283131)
> +++ head/lib/libproc/Makefile Tue May 19 22:23:15 2015(r283132)
> @@ -23,6 +23,8 @@ LIBADD+=cxxrt
>  LIBADD+= supcplusplus
>  .endif
>
> +LIBADD+= elf rtld_db util
> +

I have to revert this commit on my CURRENT systems so buildworld can
continue.

On one such system(r283554):

[...]
building shared library libproc.so.3
--- all_subdir_libdwarf ---
--- libdwarf_elf_init.So ---
cc  -fpic -DPIC  -O2 -pipe -march=bdver2  -I.
-I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf
-I/usr/src/lib/libdwarf/../../contrib/elftoolchain/common
-I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libelf -std=gnu99
-fstack-protector -Ws
ystem-headers -Werror -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
-Wmissing-variable-declarations -Wthread-safety -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c
/usr/src/lib/libdwarf/../../contrib/elftoolchain/libd
warf/libdwarf_elf_init.c -o libdwarf_elf_init.So
--- all_subdir_libproc ---
cc   -fstack-protector -shared -Wl,-x -Wl,--fatal-warnings
-Wl,--warn-shared-textrel  -o libproc.so.3 -Wl,-soname,libproc.so.3
`NM='nm' lorder proc_bkpt.So proc_create.So proc_regs.So proc_sym.So
proc_rtld.So proc_util.So | tsort -q`  -lcxxrt  -lelf  -l
rtld_db  -lutil
--- all_subdir_librt ---
--- mq.o ---
cc   -O2 -pipe -march=bdver2  -I/usr/src/lib/librt/../libc/include
-I/usr/src/lib/librt -fexceptions -Winline -Wall -std=gnu99
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k
-Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-stri
ng-plus-int -Wno-unused-const-variable -Wno-tautological-compare
-Wno-unused-value -Wno-parentheses-equality -Wno-unused-function
-Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-switch-enum
-Wno-knr-promoted-parameter -Qunused-arguments -
c /usr/src/lib/librt/mq.c -o mq.o
--- sigev_thread.o ---
cc   -O2 -pipe -march=bdver2  -I/usr/src/lib/librt/../libc/include
-I/usr/src/lib/librt -fexceptions -Winline -Wall -std=gnu99
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k
-Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-stri
ng-plus-int -Wno-unused-const-variable -Wno-tautological-compare
-Wno-unused-value -Wno-parentheses-equality -Wno-unused-function
-Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-switch-enum
-Wno-knr-promoted-parameter -Qunused-arguments -
c /usr/src/lib/librt/sigev_thread.c -o sigev_thread.o
--- all_subdir_librpcsvc ---
--- nfs_prot_xdr.o ---
cc   -O2 -pipe -march=bdver2  -DYP
-I/tmp/bdver2/usr/src/tmp/usr/include/rpcsvc -std=gnu99 -fstack-protector
-Wsystem-headers -Werror -Wno-pointer-sign -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare
-Wno-unused-
value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion
-Wno-unused-local-typedef -Wno-switch -Wno-switch-enum
-Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -c
nfs_prot_xdr.c -o nfs_prot_xdr.o
--- all_subdir_libproc ---
/tmp/bdver2/usr/src/tmp/usr/bin/ld: cannot find -lrtld_db
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [libproc.so.3] Error code 1

$ cat /etc/make.conf:
ALWAYS_CHECK_MAKE=YES
CPUTYPE?=corei7-avx
DEFAULT_VERSIONS=   perl5=5.20
KERNCONF=   GENERIC KROPOTKIN KROPOTKIN_DEBUG
MALLOC_PRODUCTION=
NO_MODULES=
PERL5_DEFAULT=  5.20
WITH_PKG=   devel

$ cat /etc/src.conf
WITH_BSD_GREP=
WITH_CLANG_EXTRAS=
WITH_LLDB=
WITH_PIE=
#WITH_SORT_THREADS=

WITHOUT_AMD=
WITHOUT_APM=
WITHOUT_ATM=
WITHOUT_BLUETOOTH=
WITHOUT_CDDL=
WITHOUT_CTM=
WITHOUT_CUSE=
WITHOUT_FDT=
WITHOUT_FLOPPY=
WITHOUT_FMTREE=
WITHOUT_FREEBSD_UPDATE=
WITHOUT_FTP=
WITHOUT_GCOV=
WITHOUT_GDB=
WITHOUT_GPL_DTC=
WITHOUT_GROFF=
WITHOUT_HAST=
WITHOUT_HTML=
WITHOUT_HYPERV=
WITHOUT_INFO=
WITHOUT_IPFILTER=
WITHOUT_IPFW=
WITHOUT_ISCSI=
WITHOUT_LEGACY_CONSOLE=
WITHOUT_LPR=
WITHOUT_NDIS=
WITHOUT_NTP=
WITHOUT_PC_SYSINSTALL=
WITHOUT_PORTSNAP=
WITHOUT_PROFILE=
WITHOUT_RCMDS=
WITHOUT_RCS=
WITHOUT_SENDMAIL=
WITHOUT_SHAREDOCS=
WITHOUT_SVNLITE=
WITHOUT_SYSCONS=
WITHOUT_SYSINSTALL=
WITHOUT_TEXINFO=
WITHOUT_TESTS=
WITHOUT_TFTP=
WITHOUT_WIRELESS=
WITHOUT_WPA_SUPPLICANT_EAPOL=

Ta very much
al
--
Smile, Cthulhu Loathes You.

Re: svn commit: r278979 - head/sys/netinet6

2015-02-19 Thread Alastair Hogge
Thanks

On 2015-02-19 Thu 09:28:55 +0300, Gleb Smirnoff wrote:
> On Thu, Feb 19, 2015 at 02:22:33PM +0800, Alastair Hogge wrote:
> A> On 2015-02-19 Thu 07:32:37 +0300, Gleb Smirnoff wrote:
> A> > On Thu, Feb 19, 2015 at 10:49:22AM +0800, Alastair Hogge wrote:
> A> > A> On 2015-02-19 Thu 01:21:24 +, Gleb Smirnoff wrote:
> A> > A>
> A> > A> Hi Gleb,
> A> > A>
> A> > A> I think this commit the whole economy^W buildworld?
> A> >
> A> > Here is preliminary patch, that I'm testing now.
> A>
> A> Ta, the build continues, tho, it breaks on sys/netinet/in_var.h now:
>
> Should be fixed now with r278987 and r278988.
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


Re: svn commit: r278979 - head/sys/netinet6

2015-02-18 Thread Alastair Hogge
On 2015-02-19 Thu 07:32:37 +0300, Gleb Smirnoff wrote:
> On Thu, Feb 19, 2015 at 10:49:22AM +0800, Alastair Hogge wrote:
> A> On 2015-02-19 Thu 01:21:24 +, Gleb Smirnoff wrote:
> A>
> A> Hi Gleb,
> A>
> A> I think this commit the whole economy^W buildworld?
>
> Here is preliminary patch, that I'm testing now.

Ta, the build continues, tho, it breaks on sys/netinet/in_var.h now:

cc  -O2 -pipe -march=corei7-avx  -DINET6 -DINET -Wall -Wmissing-prototypes
-Wcast-qual -Wwrite-strings -Wnested-externs -DRESCUE -std=gnu99
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k
-Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
-Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value
-Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion
-Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments
-c /usr/src/sbin/ifconfig/ifconfig.c
In file included from /usr/src/sbin/ifconfig/ifconfig.c:61:
/tmp/corei7-avx/usr/src/tmp/usr/include/netinet/in_var.h:213:16: error:
field has incomplete type 'struct mbufq'
struct mbufq igi_gq;/* queue of general query responses
*/
 ^
/tmp/corei7-avx/usr/src/tmp/usr/include/netinet/in_var.h:213:9: note:
forward declaration of 'struct mbufq'
struct mbufq igi_gq;/* queue of general query responses
*/
   ^
/tmp/corei7-avx/usr/src/tmp/usr/include/netinet/in_var.h:302:17: error:
field has incomplete type 'struct mbufq'
struct mbufq inm_scq;   /* queue of pending
 ^
/tmp/corei7-avx/usr/src/tmp/usr/include/netinet/in_var.h:213:9: note:
forward declaration of 'struct mbufq'
struct mbufq igi_gq;/* queue of general query responses
*/
   ^
2 errors generated.
*** [ifconfig.o] Error code 1

make[6]: stopped in /usr/src/sbin/ifconfig
1 error

make[6]: stopped in /usr/src/sbin/ifconfig
*** [ifconfig_make] Error code 2

make[5]: stopped in /tmp/corei7-avx/usr/src/rescue/rescue
1 error

make[5]: stopped in /tmp/corei7-avx/usr/src/rescue/rescue
*** [objs] Error code 2

make[4]: stopped in /usr/src/rescue/rescue
1 error

make[4]: stopped in /usr/src/rescue/rescue
*** [_sub.all] Error code 2

make[3]: stopped in /usr/src/rescue
1 error

make[3]: stopped in /usr/src/rescue
*** [rescue.all__D] Error code 2

make[2]: stopped in /usr/src
1 error

make[2]: stopped in /usr/src
*** [everything] Error code 2

make[1]: stopped in /usr/src
1 error

make[1]: stopped in /usr/src
*** [buildworld] Error code 2

make: stopped in /usr/src
1 error

make: stopped in /usr/src

Salud,
al
--
Washington, D.C: Fifty square miles almost completely surrounded by reality.
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


Re: svn commit: r278979 - head/sys/netinet6

2015-02-18 Thread Alastair Hogge
On 2015-02-19 Thu 01:21:24 +, Gleb Smirnoff wrote:

Hi Gleb,

I think this commit the whole economy^W buildworld?

> Author: glebius
> Date: Thu Feb 19 01:21:23 2015
> New Revision: 278979
> URL: https://svnweb.freebsd.org/changeset/base/278979
>
> Log:
>   Use new struct mbufq instead of struct ifqueue to manage packet queues in
>   IPv6 multicast code.
>
>   Sponsored by:   Netflix
>   Sponsored by:   Nginx, Inc.
>
> Modified:
>   head/sys/netinet6/in6_mcast.c
>   head/sys/netinet6/in6_var.h

cc  -fpic -DPIC  -O2 -pipe -march=corei7-avx  -I/usr/src/lib/libc/include
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/amd64 -DNLS
-D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa
-I/usr/src/lib/libc/../../contrib/libc-vis -DINET6
-I/tmp/corei7-avx/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE
-DPOSIX_MISTAKE -I/usr/src/lib/libc/../libmd
-I/usr/src/lib/libc/../../contrib/jemalloc/include -DMALLOC_PRODUCTION
-I/usr/src/lib/libc/../../contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime
-I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN
-I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING
-DSYSCALL_COMPAT -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall
-Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare
-Wno-unused-value -Wno-parentheses-equality -Wno-unused-function
-Wno-enum-conversion -Wno-switch -Wno-switch-enum
-Wno-knr-promoted-parameter -Qunused-arguments -c
/usr/src/lib/libc/net/getaddrinfo.c -o getaddrinfo.So
In file included from /usr/src/lib/libc/net/getaddrinfo.c:70:
/tmp/corei7-avx/usr/src/tmp/usr/include/netinet6/in6_var.h:655:17: error:
field has incomplete type 'struct mbufq'
struct mbufq in6m_scq;  /* queue of pending
 ^
/tmp/corei7-avx/usr/src/tmp/usr/include/netinet6/in6_var.h:655:9: note:
forward declaration of 'struct mbufq'
struct mbufq in6m_scq;  /* queue of pending
   ^
1 error generated.
*** [getaddrinfo.So] Error code 1

make[4]: stopped in /usr/src/lib/libc
1 error

make[4]: stopped in /usr/src/lib/libc
A failure has been detected in another branch of the parallel make

make[3]: stopped in /usr/src
*** [libraries] Error code 2

make[2]: stopped in /usr/src
1 error

make[2]: stopped in /usr/src
*** [_libraries] Error code 2

make[1]: stopped in /usr/src
1 error

make[1]: stopped in /usr/src
*** [buildworld] Error code 2

make: stopped in /usr/src
1 error

make: stopped in /usr/src
2|agh@kropotkin:/usr/src $

$ uname -a
FreeBSD kropotkin.auxio 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r278930: Wed
Feb 18 11:14:06 AWST 2015
agh@kropotkin:/tmp/corei7-avx/usr/src/sys/KROPOTKIN  amd64

$ cat /etc/make
ALWAYS_CHECK_MAKE=YES
CPUTYPE?=corei7-avx
DEFAULT_VERSIONS=   perl5=5.20
KERNCONF=   KROPOTKIN KROPOTKIN_DEBUG
MALLOC_PRODUCTION=
PERL5_DEFAULT=  5.20
WITH_BDB_VER=   5
#WITH_DEBUG=
WITH_OPENSSL_PORT=
WITH_PKG=   devel

$ cat /etc/src.make
WITH_BSD_GREP=
WITH_CLANG_EXTRAS=
WITH_LLDB=
WITH_PIE=
#WITH_SORT_THREADS=

WITHOUT_APM=
WITHOUT_ATM=
WITHOUT_BLUETOOTH=
WITHOUT_CDDL=
WITHOUT_CTM=
WITHOUT_CUSE=
WITHOUT_FLOPPY=
WITHOUT_FMTREE=
WITHOUT_GCOV=
WITHOUT_GDB=
WITHOUT_HYPERV=
WITHOUT_INFO=
WITHOUT_IPFILTER=
#WITHOUT_LIB32=
WITHOUT_LPR=
WITHOUT_NDIS=
WITHOUT_NTP=
WITHOUT_PC_SYSINSTALL=
WITHOUT_PORTSNAP=
WITHOUT_PPP=
WITHOUT_PROFILE=
WITHOUT_RCMDS=
WITHOUT_RCS=
WITHOUT_SENDMAIL=
WITHOUT_SVNLITE=
WITHOUT_SYSCONS=
WITHOUT_SYSINSTALL=
WITHOUT_TEXINFO=
WITHOUT_WIRELESS=
WITHOUT_WPA_SUPPLICANT_EAPOL=
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


Re: svn commit: r269649 - in head: lib lib/libohash share/mk usr.bin/m4 usr.bin/m4/lib

2014-08-10 Thread Alastair Hogge
On 2014-08-06 Wed 22:46:15 +, Baptiste Daroussin wrote:
> Author: bapt
> Date: Wed Aug  6 22:46:15 2014
> New Revision: 269649
> URL: http://svnweb.freebsd.org/changeset/base/269649
> 
> Log:
>   Make libohash a proper internallib instead of hidding it in m4
>   
>   mandoc development seems to be also using ohash so prepare to share the
>   code when needed

Hi,

I have not been able to build head with PIE since this commit.  Build host
is 11.0-CURRENT r269770.

$ cat /etc/src.conf
WITH_PIE=

$ cat /etc/make.conf
ALWAYS_CHECK_MAKE=

$ cd /tmp/r269649 && env MAKEOBJDIRPREFIX=/tmp/obj make -j9 buildworld
===> usr.bin/m4 (all)
===> usr.bin/m4/tests (all)
cc  -O2 -pipe   -DEXTENDED -I/tmp/r269649/usr.bin/m4
-I/tmp/r269649/usr.bin/m4/../../lib/libohash -fPIE -pie -std=gnu99
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wp
ointer-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-empty-body
-Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments  -pie -o
m4 eval.o expr.o look.o main.o misc.o gnum4.o trace.o parser.o tokenizer.o
-ly -ll -lm /tmp/obj/tmp/r269649/lib/libohash/libohash.a
/tmp/obj/tmp/r269649/tmp/usr/bin/ld:
/tmp/obj/tmp/r269649/lib/libohash/libohash.a(ohash.o): relocation
R_X86_64_PC32 against `strlen@@FBSD_1.0' can not be used when making a
shared object; recompile with -fPIC
/tmp/obj/tmp/r269649/tmp/usr/bin/ld: final link failed: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [m4] Error code 1

make[4]: stopped in /tmp/r269649/usr.bin/m4
1 error

make[4]: stopped in /tmp/r269649/usr.bin/m4
*** [all_subdir_m4] Error code 2

make[3]: stopped in /tmp/r269649/usr.bin
1 error

make[3]: stopped in /tmp/r269649/usr.bin
*** [usr.bin.all__D] Error code 2

make[2]: stopped in /tmp/r269649
1 error

make[2]: stopped in /tmp/r269649
*** [everything] Error code 2

make[1]: stopped in /tmp/r269649
1 error

make[1]: stopped in /tmp/r269649
*** [buildworld] Error code 2

make: stopped in /tmp/r269649
1 error

make: stopped in /tmp/r269649

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


Re: svn commit: r211219 - head/usr.sbin/acpi/acpidump

2010-08-12 Thread Alastair Hogge
On Thursday 12 August 2010 19:01:38 Takanori Watanabe wrote:
> Author: takawata
> Date: Thu Aug 12 11:01:38 2010
> New Revision: 211219
> URL: http://svn.freebsd.org/changeset/base/211219
> 
> Log:
>   Fix tindebox breakage about format warning.
> 
> Modified:
>   head/usr.sbin/acpi/acpidump/acpi.c
> 
> Modified: head/usr.sbin/acpi/acpidump/acpi.c
> ===
> === --- head/usr.sbin/acpi/acpidump/acpi.cThu Aug 12 11:00:45
> 2010  (r211218) +++ head/usr.sbin/acpi/acpidump/acpi.cThu Aug 12 
> 11:01:38
> 2010  (r211219) @@ -646,7 +646,7 @@ acpi_handle_tcpa(ACPI_TABLE_HEADER
> *sdp)
>   printf(END_COMMENT);
>   return;
>   }
> - printf("\tClass %d Base Address 0x%jx Length %lld\n\n",
> + printf("\tClass %d Base Address 0x%jx Length %llu\n\n",
%llu didn't work on my amd64 -r211091M

buildworld only able to proceed when I replaced %lld with %lu

-al
-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"