Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Oct 2023 19:50:50 GMT
From:      Ronald Klop <ronald@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b895b4ead12c - main - databases/mongodb70: disable LTO for now
Message-ID:  <202310061950.396JooCf035251@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by ronald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b895b4ead12c5debc16b5b8729adc53dabd2eeb2

commit b895b4ead12c5debc16b5b8729adc53dabd2eeb2
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2023-10-06 19:47:31 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2023-10-06 19:47:31 +0000

    databases/mongodb70: disable LTO for now
    
    This was the error:
    Checking if linker supports -flto... yes
    lto compilation currently only works with the --linker=gold
    See /wrkdirs/usr/ports/databases/mongodb70/work/mongo-r7.0.2/build/scons/config.log for details
    *** Error code 1
    
    See logs for the full error:
    https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/pecb3f8a4918b_s8818f0f112/logs/mongodb70-7.0.2.log
---
 databases/mongodb70/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/databases/mongodb70/Makefile b/databases/mongodb70/Makefile
index fe7db867ab96..8e348b51d389 100644
--- a/databases/mongodb70/Makefile
+++ b/databases/mongodb70/Makefile
@@ -75,7 +75,7 @@ GROUPS=		mongodb
 
 OPTIONS_DEFINE=		LTO SASL SSL NOAVX
 OPTIONS_DEFINE_aarch64=	ARMV80A
-OPTIONS_DEFAULT=	LTO SASL SSL
+OPTIONS_DEFAULT=	SASL SSL
 
 # MongoDB on non-LSE ARM cpu like Raspberry Pi can work but is unsupported upstream.
 # Can give corruption on high concurrency.


home | help

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