pkgsrc-Bugs archive

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

pkg/48179: archivers/gtar-base on Solaris 10 also needs hacks.mk



>Number:         48179
>Category:       pkg
>Synopsis:       archivers/gtar-base on Solaris 10 also needs hacks.mk
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 04 13:25:01 +0000 2013
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
When compiling archivers/gtar-base on Solaris 10/i86 with GCC 4.7.3, probably 
the same problem is encountered that is fixed in hacks.mk for NetBSD/m68k with 
GCC 4.5.3:

--- mktime.o ---
Assembler: mktime.c
        "/var/tmp//ccTI59qW.s", line 3 : .align test amount has negative value
        "/var/tmp//ccTI59qW.s", line 84 : .align test amount has negative value
        "/var/tmp//ccTI59qW.s", line 615 : .align test amount has negative value
*** [mktime.o] Error code 1

After shifting down from -O2 to -O, compilation succeeds. This might be a more 
general problem also affecting other platforms and more GCC versions...
>How-To-Repeat:

>Fix:
As the scope of the problem is unknown, I don't suggest an update for hacks.mk.



Home | Main Index | Thread Index | Old Index