Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2018 06:11:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 225369] net/freeswitch: clang 6.0.0 error: unknown warning option '-Wno-extended-offsetof'
Message-ID:  <bug-225369-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225369

            Bug ID: 225369
           Summary: net/freeswitch: clang 6.0.0 error: unknown warning
                    option '-Wno-extended-offsetof'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: ohartmann@walstatt.org
                CC: corsmith@gmail.com
             Flags: maintainer-feedback?(corsmith@gmail.com)
                CC: corsmith@gmail.com

On recent CURRENT hosting poudriere with the very same revision of the OS f=
or
the jail (FreeBSD 12.0-CURRENT 1200056 amd64), building port net/freeswitch
fails with the error shown below.

[...]
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./crypto/include -fPIC -Wall -O4
-fexpensive-optimizations -funroll-loops -I./src -Icrypto/include -I./inclu=
de
-I./crypto/include -DLIBICONV_PLUG -isystem /usr/local/include -fPIC -Wall =
-O4
-fexpensive-optimizations -funroll-loops -I./src -Icrypto/include -I./inclu=
de
-I./crypto/include -O2 -pipe -Wno-c11-extensions -Wno-deprecated-declaratio=
ns
-Wno-zero-length-array -Wno-incompatible-pointer-types -DLIBICONV_PLUG
-fstack-protector -isystem /usr/local/include -fno-strict-aliasing -O2 -pipe
-Wno-c11-extensions -Wno-deprecated-declarations -Wno-zero-length-array
-Wno-incompatible-pointer-types -DLIBICONV_PLUG -fstack-protector -isystem
/usr/local/include -fno-strict-aliasing -Wno-extended-offsetof -DLIBICONV_P=
LUG
-isystem /usr/local/include -I/usr/local/include -Wall -std=3Dc99 -pedantic=
 -MT
null_cipher.lo -MD -MP -MF .deps/null_cipher.Tpo -c crypto/cipher/null_ciph=
er.c
 -fPIC -DPIC -o null_cipher.o
warning: unknown warning option '-Wno-extended-offsetof'; did you mean
'-Wno-invalid-offsetof'? [-Wunknown-warning-option]
cc: warning: optimization flag '-fexpensive-optimizations' is not supported
[-Wignored-optimization-argument]
cc: warning: optimization flag '-fexpensive-optimizations' is not supported
[-Wignored-optimization-argument]
error: unknown warning option '-Wno-extended-offsetof'; did you mean
'-Wno-invalid-offsetof'? [-Werror,-Wunknown-warning-option]
gmake[1]: *** [Makefile:2188: libfreeswitch_spandsp_la-alloc.lo] Error 1

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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