[Bug 263532] lang/ypslion: Fails buils with GCC 11: /usr/local/bin/ld: s_current_vm: TLS definition in main.o section .tbss mismatches non-TLS reference in interpreter.o

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 24 Apr 2022 19:14:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263532

            Bug ID: 263532
           Summary: lang/ypslion: Fails buils with GCC 11:
                    /usr/local/bin/ld: s_current_vm: TLS definition in
                    main.o section .tbss mismatches non-TLS reference in
                    interpreter.o
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: http://package18.nyi.freebsd.org/data/122amd64-default
                    -foo/2021-09-18_18h41m21s/logs/errors/ypsilon-0.9.6.3_
                    11.log
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: salvadore@freebsd.org
            Blocks: 258378

Building port with GCC 11 gives the following error message (full log in URL):

/usr/local/bin/ld: s_current_vm: TLS definition in main.o section .tbss
mismatches non-TLS reference in interpreter.o
/usr/local/bin/ld: interpreter.o: error adding symbols: bad value
collect2: error: ld returned 1 exit status


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258378
[Bug 258378] [exp-run] Update GCC_DEFAULT from 10 to 11
-- 
You are receiving this mail because:
You are the assignee for the bug.