[Bug 285401] x11/libxkbcommon: after recent updates to 1.8.0 and 1.8.1 several ports may need a PORTREVISION bump

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285401

--- Comment #50 from Mark Millard <[email protected]> ---
(In reply to Baptiste Daroussin from comment #44)

Just an FYI: I grabbed a 2024-Dec-02 base (world) from artifacts
(so shortly after the update to llvm19):

https://artifact.ci.freebsd.org/snapshot/stable-14/628e76a986b9621199e77730eebfdb8e0e43c945/arm64/aarch64/base.txz

and it gets the problem (used via chroot):

# file /bin/sh
/bin/sh: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (FreeBSD),
dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 14.2
(1402501), FreeBSD-style, stripped

# cc -Wl,--version-script=environ-_progname-2.map environ-_progname.c -o
environ-_progname
ld: error: non-exported symbol 'environ' in '/usr/lib/crt1.o' is referenced by
DSO '/lib/libc.so.7'
ld: error: non-exported symbol '__progname' in '/usr/lib/crt1.o' is referenced
by DSO '/lib/libc.so.7'
cc: error: linker command failed with exit code 1 (use -v to see invocation)

where:

# more environ-_progname.c
// cc -Wl,--version-script=environ-_progname-1.map environ-_progname.c -o
environ-_progname
// cc -Wl,--version-script=environ-_progname-2.map environ-_progname.c -o
environ-_progname
//
//
int main() {}

# more environ-_progname-2.map 
VERSION_2 { global: main; local: *; };

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.