Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2018 18:56:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 230623] net/pkt-gen: fails to build with Clang 7
Message-ID:  <bug-230623-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 230623
           Summary: net/pkt-gen: fails to build with Clang 7
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: shurd@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 230355
          Assignee: shurd@FreeBSD.org
             Flags: maintainer-feedback?(shurd@FreeBSD.org)

$ poudriere jail -cj clang7 -a amd64 -v projects/clang700-import -m svn+htt=
ps
$ poudriere testport -j clang7 net/pkt-gen
[...]
cc -O2 -pipe -Werror -Wall -Wunused-function -I ../../sys -I ../../apps/inc=
lude
-Wextra   -fstack-protector  pkt-gen.c  -lpthread -lm -lpcap -o pkt-gen
pkt-gen.c:729:15: error: setting buffer to a 'sizeof' expression; did you m=
ean
to transpose the last two arguments? [-Werror,-Wmemset-transposed-args]
                memset(buf, sizeof(buf), ' ');
                            ^
pkt-gen.c:729:15: note: cast the second argument to 'int' to silence

http://package18.nyi.freebsd.org/data/headamd64PR230355-default/2018-08-11_=
19h01m06s/logs/errors/pkt-gen-g2017.08.06_1.log


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230355
[Bug 230355] [exp-run] Against projects/clang700-import branch
--=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-230623-7788>