git: 9220f0b11256 - main - databases/mongodb50: turn off LTO
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Apr 2024 17:16:59 UTC
The branch main has been updated by ronald: URL: https://cgit.FreeBSD.org/ports/commit/?id=9220f0b1125626b100a823b801cec4d8362ec523 commit 9220f0b1125626b100a823b801cec4d8362ec523 Author: Ronald Klop <ronald@FreeBSD.org> AuthorDate: 2024-04-08 17:13:22 +0000 Commit: Ronald Klop <ronald@FreeBSD.org> CommitDate: 2024-04-08 17:16:25 +0000 databases/mongodb50: turn off LTO After upgrading snappy 1.1.0 -> 1.2.0, mongodb50 fails to start: ld-elf.so.1: /usr/local/bin/mongod: Undefined symbol "_ZN6snappy8CompressEPKcmPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE" Apparentally turning off LTO fixes this. PR: 278254 --- databases/mongodb50/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/databases/mongodb50/Makefile b/databases/mongodb50/Makefile index 6c7008b71cc0..ccbc2e666182 100644 --- a/databases/mongodb50/Makefile +++ b/databases/mongodb50/Makefile @@ -1,6 +1,7 @@ PORTNAME= mongodb DISTVERSIONPREFIX= r DISTVERSION= 5.0.26 +PORTREVISION= 1 CATEGORIES= databases net MASTER_SITES= https://fastdl.mongodb.org/src/ \ http://fastdl.mongodb.org/src/ @@ -62,7 +63,7 @@ USERS= mongodb GROUPS= mongodb OPTIONS_DEFINE= LTO SASL SSL NOAVX -OPTIONS_DEFAULT= LTO SASL SSL +OPTIONS_DEFAULT= SASL SSL NOAVX_DESC= "Disable AVX instructions on amd64 (Sandybridge+)"