NetBSD Problem Report #51260

From www@NetBSD.org  Tue Jun 21 07:24:56 2016
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 "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 75A827A494
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 21 Jun 2016 07:24:56 +0000 (UTC)
Message-Id: <20160621072455.4ACBE7AAA4@mollari.NetBSD.org>
Date: Tue, 21 Jun 2016 07:24:55 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: linking of print/luatex fails on Solaris
X-Send-Pr-Version: www-1.0

>Number:         51260
>Notify-List:    solaris-pkg-people@NetBSD.org
>Category:       pkg
>Synopsis:       linking of print/luatex fails on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    minskim
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 21 07:25:00 +0000 2016
>Closed-Date:    Tue Jul 05 01:22:35 +0000 2016
>Last-Modified:  Tue Jul 05 01:22:35 +0000 2016
>Originator:     Joern Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
Building print/luatex on Solaris 11 and GCC 4.8.5 fails with

libtool: link: gcc -shared  -fPIC -DPIC -Wl,-z -Wl,text -Wl,-h -Wl,libtexluajit.so.2 [...]
Text relocation remains                         referenced
    against symbol                  offset      in file
lj_dispatch_stitch                  0x3394      .libs/lj_vm_asm.o
lj_str_new                          0x2c30      .libs/lj_vm_asm.o
lj_buf_putstr_lower                 0x2d8c      .libs/lj_vm_asm.o
lj_meta_cat                         0x928       .libs/lj_vm_asm.o
lj_func_newL_gc                     0xb80       .libs/lj_vm_asm.o
lj_tab_new                          0xbd9       .libs/lj_vm_asm.o
lj_ccallback_enter                  0x37c7      .libs/lj_vm_asm.o
[...]
ld: fatal: relocations remain against allocatable but non-writable sections


>How-To-Repeat:

>Fix:
There is some discussion on the TeX-Live mailing list w.r.t. to OpenIndiana. It seems the build of this feature is severely broken at the moment. Even adding

--disable-mfluajit

(to the already present --disable-luajittex) doesn't help.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->minskim
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Tue, 21 Jun 2016 12:30:44 +0000
Responsible-Changed-Why:
Over to maintainer.


From: "Mark Davies" <markd@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/51260 CVS commit: pkgsrc/print/luatex
Date: Sun, 3 Jul 2016 11:19:51 +0000

 Module Name:	pkgsrc
 Committed By:	markd
 Date:		Sun Jul  3 11:19:51 UTC 2016

 Modified Files:
 	pkgsrc/print/luatex: Makefile distinfo
 Added Files:
 	pkgsrc/print/luatex/patches: patch-libs_luajit_Makefile.in

 Log Message:
 workaround for luajit PIC issue PR pkg/51304  (also PR pkg/51260)


 To generate a diff of this commit:
 cvs rdiff -u -r1.47 -r1.48 pkgsrc/print/luatex/Makefile
 cvs rdiff -u -r1.18 -r1.19 pkgsrc/print/luatex/distinfo
 cvs rdiff -u -r0 -r1.1 \
     pkgsrc/print/luatex/patches/patch-libs_luajit_Makefile.in

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 05 Jul 2016 01:22:35 +0000
State-Changed-Why:
Duplicate of 51304 (I've added you to the cc list there)


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.