Date: Tue, 1 Sep 2020 10:46:52 +0100 From: Bob Eager <rde@tavi.co.uk> To: freebsd-ports@freebsd.org Subject: Re: pkg-fallout on one of the ports I maintain Message-ID: <20200901104652.6159b223@raksha.tavi.co.uk> In-Reply-To: <CANSUJnqMGc%2B1z%2Buc0ndOq1qf-8KqZkJMXY9GHksdSbuhFoP-Sw@mail.gmail.com> References: <CANSUJnqMGc%2B1z%2Buc0ndOq1qf-8KqZkJMXY9GHksdSbuhFoP-Sw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Almost certainly the -fno-common problem with clang 11. This now defaults to -fno-common, which causes multiply defined symbols at link time if something is declared global in more than one module (instead of extern in all but one module). There is a similar problem with gcc. Declaring -fno-common on your existing build will trigger the problem. What you are seeing (success) is because clang 11 isn't actually in -CURRENT yet. When I fixed my ports, I had to install (build) clang 11 (from llvm11) to do the testing. On Tue, 1 Sep 2020 19:35:44 +1000 Sean Greven <sean.greven@gmail.com> wrote: > Hi there > > I have received a number of messages from pkg-fallout regarding the > port I maintain, and pkg-fallout maintains that my port is broken. > > The really strange thing here is that I am able to build it in all the > versions up till 13.0-CURRENT. > The port builds without any errors. Any one with any ideas on how to > troubleshoot this further? > > Below is the last piece of the error returned from pkg-fallout. > > cc: error: linker command failed with exit code 1 (use -v to see > invocation) *** [fwknop] Error code 1 > > make[3]: stopped in > /wrkdirs/usr/ports/security/fwknop/work/fwknop-2.6.10/client > 1 error > > make[3]: stopped in > /wrkdirs/usr/ports/security/fwknop/work/fwknop-2.6.10/client > ===> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the > failure to the maintainer. > *** Error code 1 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200901104652.6159b223>