[patch] darwin build fails on -fno-common toolchains

Bug #1980570 reported by Sergei Trofimovich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

Bug Description

Without the change build fails on aarch64-darwin against upstream llvm-11
with multiple symbol declaraions:

    duplicate symbol '_static_code_space_free_pointer' in:
        alloc.o
        traceroot.o
    duplicate symbol '_static_code_space_free_pointer' in:
        alloc.o
        gencgc.o

Full build log: https://hydra.nixos.org/log/hdbirh7vf6kd2zj9j6a5sbdjpyvsw2j2-sbcl-2.2.4.drv

The change declares variable as extern in globals.h (similar to the rest ofvariables).
globals.c already defines the variable.

Tags: patch
Revision history for this message
Sergei Trofimovich (trofi) wrote :
tags: added: patch
Revision history for this message
Douglas Katzman (dougk) wrote :

applied

Changed in sbcl:
status: New → Fix Committed
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.