[Gluster-users] Compiling 3.13.2 under FreeBSD 11.1?

Roman Serbski mefystofel at gmail.com
Mon May 7 08:29:43 UTC 2018


Hello,

Has anyone managed to successfully compile the latest 3.13.2 under
FreeBSD 11.1? ./autogen.sh and ./configure seem to work but make
fails:

Making all in src
  CC       glfs.lo
cc: warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument]
cc: warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument]
fatal error: error in backend: A @@ version cannot be undefined
cc: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on
LLVM 4.0.0)
Target: x86_64-unknown-freebsd11.1

# uname -a
FreeBSD int-smtp-03 11.1-RELEASE-p8 FreeBSD 11.1-RELEASE-p8 #0
r330926: Wed Mar 14 13:45:45 CET 2018
root at int-build:/usr/obj/usr/src/sys/BSD112017110501VM  amd64

# pkg info
argp-standalone-1.3_3          Standalone version of arguments parsing
functions from GLIBC
autoconf-2.69_1                Automatically configure source code on
many Un*x platforms
autoconf-wrapper-20131203      Wrapper script for GNU autoconf
automake-1.15.1                GNU Standards-compliant Makefile generator
automake-wrapper-20131203      Wrapper script for GNU automake
bison-3.0.4,1                  Parser generator from FSF, (mostly)
compatible with Yacc
ca_root_nss-3.36.1             Root certificate bundle from the Mozilla Project
curl-7.59.0                    Command line tool and library for
transferring data with URLs
cyrus-sasl-2.1.26_13           RFC 2222 SASL (Simple Authentication
and Security Layer)
gettext-runtime-0.19.8.1_1     GNU gettext runtime libraries and programs
glib-2.50.3_2,1                Some useful routines of C programming
(current stable version)
indexinfo-0.3.1                Utility to regenerate the GNU info page index
libedit-3.1.20170329_2,1       Command line editor library
libevent-2.1.8_1               API for executing callback functions on
events or timeouts
libffi-3.2.1_2                 Foreign Function Interface
libiconv-1.14_11               Character set conversion library
liblz4-1.8.1.2,1               LZ4 compression library, lossless and very fast
libnghttp2-1.31.1              HTTP/2.0 C Library
libtool-2.4.6                  Generic shared library support script
liburcu-0.10.0                 Userspace read-copy-update (RCU) data
synchronization library
m4-1.4.18,1                    GNU M4
mysql57-client-5.7.22_1        Multithreaded SQL database (client)
pcre-8.40_1                    Perl Compatible Regular Expressions library
perl5-5.26.2                   Practical Extraction and Report Language
pkg-1.10.5                     Package manager
pkgconf-1.4.2,1                Utility to help to configure compiler
and linker flags
protobuf-3.5.2                 Data interchange format library
python2-2_3                    The "meta-port" for version 2 of the
Python interpreter
python27-2.7.14_1              Interpreted object-oriented programming language
readline-7.0.3_1               Library for editing command lines as
they are typed
sqlite3-3.23.1                 SQL database engine in a C library

# clang -v
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on
LLVM 4.0.0)
Target: x86_64-unknown-freebsd11.1
Thread model: posix
InstalledDir: /usr/bin

./autogen.sh > https://pastebin.com/BJ16SmTM

./configure > https://pastebin.com/4SybcRTZ

make > https://pastebin.com/12YLjPid

glfs-8a2844.sh > https://pastebin.com/q3q0vWVS

glfs-8a2844.c > is too big. Please let me know whether you'd be
interested to see it as well.

Thank you in advance.


More information about the Gluster-users mailing list