Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Oct 2021 10:56:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   maintainer-approval requested: [Bug 258837] www/firefox: unbreak llvm=13 build : [Attachment 228314] v1 (use "git am")
Message-ID:  <bug-258837-21738-2fvbOngQc4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-258837-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-258837-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Evgeniy Khramtsov <evgeniy@khramtsov.org> has asked freebsd-gecko (Nobody)
<gecko@FreeBSD.org> for maintainer-approval:
Bug 258837: www/firefox: unbreak llvm=3D13 build
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258837

Attachment 228314: v1 (use "git am")
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D228314&action=3Dedit



--- Description ---
Restore patch-bug1628567 to unbreak glslopt crate build due to cc crate
passing Rust target "x86_64-unknown-freebsd" without OS version to clang++:

[glslopt 0.1.9] cargo:warning=3D/wrkdirs/usr/ports/www/firefox/work/.build/
ist/system_wrappers/new:3:15: fatal error: 'new' file not found
[glslopt 0.1.9] cargo:warning=3D#include_next <new>

Build passed on 12.2/amd64 jail with this patch (llvm=3D13 and llvm=3D12) a=
nd
without (llvm=3D12). Also, build still passes after forced LTO with llvm=3D=
13 via
reverting ports 4e67118c7.

Note, ports llvm still uses base libc++ (bug 215193), so this helps bug 258=
209
only partly. Upstream bug 1731582 patches might be needed for in base libc++
13:
https://bugzilla.mozilla.org/show_bug.cgi?id=3D1731582



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258837-21738-2fvbOngQc4>