Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2014 08:51:35 GMT
From:      Alexander Panyushkin <vsityz@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/186758: sysutils/xfsprogs not build with clang
Message-ID:  <201402140851.s1E8pZQL082563@cgiserv.freebsd.org>
Resent-Message-ID: <201402140900.s1E9011J016373@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186758
>Category:       ports
>Synopsis:       sysutils/xfsprogs not build with clang
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 14 09:00:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Panyushkin
>Release:        FreeBSD 10.0-STABLE #0 r261274
>Organization:
Home
>Environment:
FreeBSD magnetron.intra 10.0-STABLE FreeBSD 10.0-STABLE #0 r261274: Thu Jan 30 11:34:04 EET 2014     root@magnetron.intra:/usr/obj/usr/src/sys/Kernel  amd64
>Description:
cc -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security    -DVERSION=\"2.9.8\" -DLOCALEDIR=\"/usr/local/share/locale\" -DPACKAGE=\"xfsprogs\" -I./include -I/usr/local/include -funsigned-char -fno-strict-aliasing -Wall     -DVERSION=\"2.9.8\" -DLOCALEDIR=\"/usr/local/share/locale\" -DPACKAGE=\"xfsprogs\" -I../include -I/usr/local/include -funsigned-char -fno-strict-aliasing -Wall  -DENABLE_READLINE -D_FORTIFY_SOURCE=2  -c -o attrset.o attrset.c
/usr/local/bin/libtool --mode=link cc -o xfs_db     -static  addr.o agf.o agfl.o agi.o attr.o attrshort.o bit.o block.o bmap.o bmapbt.o bmroot.o bnobt.o check.o cntbt.o command.o convert.o dbread.o debug.o dir.o dir2.o dir2sf.o dirshort.o dquot.o echo.o faddr.o field.o flist.o fprint.o frag.o freesp.o hash.o help.o init.o inobt.o inode.o input.o io.o malloc.o metadump.o output.o print.o quit.o sb.o sig.o strvec.o text.o type.o write.o attrset.o   ../libxfs/libxfs.la ../libxlog/libxlog.la  -lrt  -lpthread -lreadline  -L/usr/local/lib -lintl 
libtool: link: cc -o xfs_db addr.o agf.o agfl.o agi.o attr.o attrshort.o bit.o block.o bmap.o bmapbt.o bmroot.o bnobt.o check.o cntbt.o command.o convert.o dbread.o debug.o dir.o dir2.o dir2sf.o dirshort.o dquot.o echo.o faddr.o field.o flist.o fprint.o frag.o freesp.o hash.o help.o init.o inobt.o inode.o input.o io.o malloc.o metadump.o output.o print.o quit.o sb.o sig.o strvec.o text.o type.o write.o attrset.o  ../libxfs/.libs/libxfs.a ../libxlog/.libs/libxlog.a -lrt -lpthread -lreadline -L/usr/local/lib /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib
./libxfs/.libs/libxfs.a(xfs_bmap_btree.o): In function `libxfs_bmbt_get_all':
xfs_bmap_btree.c:(.text+0x30f2): undefined reference to `__xfs_bmbt_get_all'
./libxfs/.libs/libxfs.a(xfs_bmap_btree.o): In function `libxfs_bmbt_disk_get_all':
xfs_bmap_btree.c:(.text+0x3166): undefined reference to `__xfs_bmbt_get_all'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [xfs_db] Error 1
gmake[1]: *** [default] Error 2
gmake[1]: exit `/usr/ports/sysutils/xfsprogs/work/xfsprogs-2.9.8'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/xfsprogs

>How-To-Repeat:
portmaster sysutils/xfsprogs
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402140851.s1E8pZQL082563>