pkgsrc-Bugs archive

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

pkg/57383: zstd assembler bug on SPARC



>Number:         57383
>Category:       pkg
>Synopsis:       zstd assembler bug on SPARC
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 28 17:00:00 +0000 2023
>Originator:     Mike Owens
>Release:        2023Q1
>Organization:
>Environment:
SunOS t5140 5.11 tribblix-m26 sun4v sparc SUNW,T5140
>Description:
There is a GNU specific assembler instruction in source which causes compilation failure on SPARC. It is in the file lib/decompress/huf_decompress_amd64.S the follows:

/* Stack marking                                                                                                                                                                                
 * ref: https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart                                                                                                                              
 */
#if defined(__ELF__) && defined(__GNUC__)
.section .note.GNU-stack,"",%progbits
#endif

Removal of this line fixes the problem and the project builds successfully.

>How-To-Repeat:

>Fix:


Home | Main Index | Thread Index | Old Index