NetBSD Problem Report #53134

From www@NetBSD.org  Tue Mar 27 14:14:01 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id B1BA57A17F
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 27 Mar 2018 14:14:01 +0000 (UTC)
Message-Id: <20180327141400.AD00B7A222@mollari.NetBSD.org>
Date: Tue, 27 Mar 2018 14:14:00 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: multimedia/x264-devel fails to build on Solaris 11.3/i86
X-Send-Pr-Version: www-1.0

>Number:         53134
>Category:       pkg
>Synopsis:       multimedia/x264-devel fails to build on Solaris 11.3/i86
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 27 14:15:00 +0000 2018
>Originator:     Joern Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
Compilation of multimedia/x264-devel on Solaris 11.3/i86 with GCC 4.9.4 fails with

gcc -o x264  x264.o input/input.o input/timecode.o input/raw.o input/y4m.o [...]
Text relocation remains                         referenced
    against symbol                  offset      in file
x264_coeff_abs_level_m1_offset      0x21d       common/x86/cabac-a-8.o
x264_coeff_abs_level_m1_offset      0x4f8       common/x86/cabac-a-8.o
x264_coeff_abs_level_m1_offset      0x85d       common/x86/cabac-a-8.o
x264_coeff_abs_level_m1_offset      0xb38       common/x86/cabac-a-8.o
x264_coeff_abs_level_m1_offset      0xe9d       common/x86/cabac-a-8.o
x264_coeff_abs_level_m1_offset      0x1158      common/x86/cabac-a-8.o
x264_coeff_abs_level_m1_offset      0x145d      common/x86/cabac-a-8.o
x264_coeff_abs_level_m1_offset      0x1728      common/x86/cabac-a-8.o
x264_coeff_abs_level_m1_offset      0x1a3d      common/x86/cabac-a-8.o
x264_coeff_abs_level_m1_offset      0x1cf8      common/x86/cabac-a-8.o

... and many more function in many more object files.

This does not happen on Solaris 11.3/sparc with the same compiler, i.e. when not using the x86 assembler sources.
>How-To-Repeat:

>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.