NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/58707: tools/gmp build error on macos 14



>Number:         58707
>Category:       toolchain
>Synopsis:       tools/gmp fails to configure with "gmp library to old"
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 28 21:10:01 +0000 2024
>Originator:     Christoph Badura <bad%bsd.de@localhost>
>Release:        NetBSD 10.99.11
>Organization:
Bozotic Software Testing Labs
	<organization of PR author (multiple lines)>
>Environment:
	<The following information is extracted from your kernel. Please>
	<append output of "ldd", "ident" where relevant (multiple lines).>
System: Darwin Kernel Version 23.6.0: Mon Jul 29 21:13:00 PDT 2024;
root:xnu-10063.141.2~1/RELEASE_X86_64
Architecture: i386
Machine: x86_64
Xcode version 16

>Description:

building tools/gmp fails with "error: gmp library to old".

relevant excerpt from config.log (per
https://mail-index.netbsd.org/current-users/2024/09/26/msg045636.html):

ld: warning: ignoring duplicate libraries: '-lgmp'
ld: warning: disabling chained fixups because of unaligned pointers
ld: illegal text-relocation in '___gmpn_add_nc'+0x1E0 (/Users/woods/build/woods/very.local/trunk-x86_64-amd64-tools/lib/libgmp.a[282](add_n.o)) to '___gmpn_add_n'
clang: error: linker command failed with exit code 1 (use -v to see
invocation)

>How-To-Repeat:

build.sh tools

>Fix:
yes please.

>Unformatted:
 	<Please check that the above is correct for the bug being reported,>
 	<and append source date of snapshot, if applicable (one line).>


Home | Main Index | Thread Index | Old Index