delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/20/18:32:04

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=rnm
R6uUvp0Lgj3Q3gpb1MHafVQ2HAarq3gorHg2HLI7PsDvMT1iML1I78uuCFFxjy/u
esEwbKHnYdssB/XiAABAfznM80Mki2kHr8jG1QDLb3P5oO6ooPwYb1lJaRJ/s/Qk
7yzNDwTKPBXFybaak3TUO8KhQoWOK1bdSv8cCsrs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; s=default; bh=0PI5mVEyC
WiNeTM6vqvNc59ircg=; b=a1ru3T1G77/JMb1RaEyBC5clBo+3cLzm7X63XKfNO
hqwxzBEK7x72Ifchk8PUBKQOAKH8+LkKUOVUrxC8op0wRABXXRsyZ+7JMhBoquzr
CODMJQOnS1D/dRaYs5WiVk1cK3O9QwOW/ulusXteaCNfy4/nuV6hbUPD3p1JxAic
os=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: limerock03.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Message-ID: <532B6C41.4080806@cornell.edu>
Date: Thu, 20 Mar 2014 18:31:29 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: cygwin <cygwin AT cygwin DOT com>
Subject: Relocation errors with latest binutils
X-IsSubscribed: yes

With binutils-2.24.51-1 the build of xetex.exe (part of TeX Live) fails 
with relocation errors like the following:

g++ -g -O2 -o xetex.exe xetexdir/xetex-xetexextra.o 
synctexdir/xetex-synctex.o xetex-xetexini.o xetex-xetex0.o 
xetex-xetex-pool.o libxetex.a 
/home/kbrown/src/texlive/test64/Work/libs/harfbuzz/libharfbuzz.a 
/home/kbrown/src/texlive/test64/Work/libs/graphite2/libgraphite2.a 
/home/kbrown/src/texlive/test64/Work/libs/icu/icu-build/lib/libicuuc.a 
/home/kbrown/src/texlive/test64/Work/libs/icu/icu-build/lib/libicudata.a 
/home/kbrown/src/texlive/test64/Work/libs/teckit/libTECkit.a 
/home/kbrown/src/texlive/test64/Work/libs/poppler/libpoppler.a 
/home/kbrown/src/texlive/test64/Work/libs/libpng/libpng.a 
/home/kbrown/src/texlive/test64/Work/libs/freetype2/libfreetype.a 
/home/kbrown/src/texlive/test64/Work/libs/zlib/libz.a -lfontconfig 
-lexpat -lfreetype -lz -lbz2 lib/lib.a 
/home/kbrown/src/texlive/test64/Work/texk/kpathsea/.libs/libkpathsea.a 
-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic
/home/kbrown/src/texlive/test64/Work/libs/harfbuzz/libharfbuzz.a(hb-ot-shape-complex-arabic.o):hb-ot-shape-complex-arabic.cc:(.rdata+0x140): 
relocation truncated to fit: R_X86_64_PC32 against 
`.text$_ZNK2OT19SubstLookupSubTable8dispatchINS_25hb_get_coverage_context_tEEENT_8return_tEPS3_j'

[and many more relocation errors]

Note that stdc++ is linked statically in the build of xetex.exe.  I 
don't know if this is relevant, but it might explain why the build of 
xetex.exe is the only one that fails.  The problem doesn't occur with 
binutils-2.23.52-5.

Steps to reproduce:

1. Download the source:

   rsync -av --exclude=.svn tug.org::tldevsrc/Build/source .

2. Build TeX Live:

   cd source/
   TL_CONFIGURE_ARGS="--disable-luajittex" TL_MAKE_FLAGS="-j5" ./Build

(Change -j5 to whatever you like.)

3. Wait for the failure.

4. Now revert binutils to the previous version and retry to build xetex.exe:

   cd Work/texk/web2c
   make xetex.exe

This succeeds.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019