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
SunOS t5140 5.11 tribblix-m26 sun4v sparc SUNW,T5140
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:                                                                                                                              
#if defined(__ELF__) && defined(__GNUC__)
.section .note.GNU-stack,"",%progbits

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



Home | Main Index | Thread Index | Old Index