Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2024 18:55:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 279821] databases/mongodb60 fails to start with LTO on
Message-ID:  <bug-279821-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 279821
           Summary: databases/mongodb60 fails to start with LTO on
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ronald@FreeBSD.org
          Reporter: zentex@gmail.com
             Flags: maintainer-feedback?(ronald@FreeBSD.org)
          Assignee: ronald@FreeBSD.org

Similar to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278254

I was upgrading to the latest unifi8(8.2.93) with the mongodb60(6.0.15_2)
depdancy in ports (was previously running on mongodb50). After upgrade, mon=
go
refuses to start. I tried to get a version on mongo, to make sure it was the
latest binary, with a "mongo --version" and it returned=20

ld-elf.so.1: /usr/local/bin/mongod: Undefined symbol
"_ZN6snappy8CompressEPKcmPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9=
allocatorIcEEEE"

Cursory search lead to the bug report about mongodb50. Having nothing to lo=
se,
I changed the Makefile options to "OPTIONS_DEFAULT=3D        SASL SSL", and=
 after
a [~20hr compile in a slow azure VM] it fired right up.

before recompiling in ports, I also tried the pkg version (its quicker), but
that too seems to have LTO turned on.

information you may need/want about the system

FreeBSD some.host.name 14.1-RELEASE FreeBSD 14.1-RELEASE
releng/14.1-n267679-10e31f0946d8 GENERIC amd64

url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",

--=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-279821-7788>