pkgsrc-Bugs archive

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

pkg/57130: amanda-common build fails with gcc-10



>Number:         57130
>Category:       pkg
>Synopsis:       amanda-common build fails with gcc-10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 22 11:15:00 +0000 2022
>Originator:     Michael van Elst
>Release:        NetBSD 10.99.1
>Organization:
	
>Environment:
	
	
System: NetBSD slowpoke 10.99.1 NetBSD 10.99.1 (SLOWPOKE) #19: Sat Dec 17 19:26:
04 UTC 2022 mlelstv@slowpoke:/scratch2/obj.amd64/scratch/netbsd-current/src/sys/
arch/amd64/compile/SLOWPOKE amd64
Architecture: x86_64
Machine: amd64
>Description:

sysutils/amanda-common fails with:

ld: ./.libs/libamanda.so: undefined reference to `__builtin_ia32_crc32hi'
ld: ./.libs/libamanda.so: undefined reference to `__builtin_ia32_crc32si'
ld: ./.libs/libamanda.so: undefined reference to `__builtin_ia32_crc32qi'
ld: ./.libs/libamanda.so: undefined reference to `__builtin_ia32_crc32di'

The source assumes that the builtin functions are always available on x86.
The compiler however only supports this when enabled with e.g. -msse4.2.

The configure script on the other hand only sets this option when the
output of 'cc -v --help' shows the availability of this option. gcc-10
does not produce that output.

>How-To-Repeat:
Build amanda-common on NetBSD-10 or -current.
>Fix:
Quick fix is to augment compiler options for x86.

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index