2024-05-28 02:39 BST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002861NetSurf[All Projects] Generalpublic2024-01-02 06:43
ReporterRyan Carsten Schmidt 
Assigned To 
Platformx86_64OSmacOSOS Version12.7.2
Product Version3.11 
Target VersionFixed in Version 
Summary0002861: ld: unknown option: --trace
DescriptionLinking NetSurf 3.11 fails on macOS, where the clang toolchain is used:

ld: unknown option: --trace
Steps To ReproduceBuild NetSurf 3.11 on macOS
Additional InformationThis is a regression; NetSurf 3.10 didn't have this problem.

The obvious patch (removing "LDFLAGS += -Wl,--trace" from netsurf/Makefile) works.
TagsNo tags attached.
Fixed in CI build #
Reported in CI build #
URL of problem page
Attached Files
  • patch file icon trace.patch (485 bytes) 2024-01-02 06:43 -
    Remove flag that the macOS linker does not understand.
    --- netsurf/Makefile.orig	2024-01-01 21:57:46.000000000 -0600
    +++ netsurf/Makefile	2024-01-01 22:19:06.000000000 -0600
    @@ -231,7 +231,6 @@
     # We trace during link so that we can determine if a libary changes under us in
     # order to re-link.  This *may* be gcc specific, so may need tweaks in future.
    -LDFLAGS += -Wl,--trace
     # ----------------------------------------------------------------------------
     # General make rules
    patch file icon trace.patch (485 bytes) 2024-01-02 06:43 +


There are no notes attached to this issue.

-Issue History
Date Modified Username Field Change
2024-01-02 06:43 Ryan Carsten Schmidt New Issue
2024-01-02 06:43 Ryan Carsten Schmidt File Added: trace.patch
+Issue History