delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2016/08/11/17:51:48

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to;
bh=bqq2MO08mPKSzJAKf5NRqPBGNX7joCEY0HQ1YwkGi7s=;
b=DJh/AA53XaPaAOOEkUnhBH6gVSjAAK8qihvAqyfXPnUWVOrjiYdjfaU8x0mKvYC8aV
ru2xiiL1eNaTCV5sVfjh/gJPlWquy09YOeV15DxY22f3LBB3iJS2gFJ/8jVYeSsKsIrs
xs4jXDye2U8ZEwu5cS19u6ksL4PJMkDhEOykT/bKCy8GFV1eg+y3tuZTYgbyljPgdTQq
vMRpdSJzzqKASSeXGcW7M/jc6GSzWu2ZEILA+cJ/mRhuEgHnwit0K24xBTcA1DnGbg+G
/oq+ocwtxsNdG25exXXKsGXG07lOE5hCFFhzT066FmhYV4nBbNACmO4UgzKofUS68y/z
T2ag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:in-reply-to:references:from:date
:message-id:subject:to;
bh=bqq2MO08mPKSzJAKf5NRqPBGNX7joCEY0HQ1YwkGi7s=;
b=L1KL314V5+3JeMY0BHz5gY+ETgk6rxfVPBOjeTLUnJ4LG12HMc9VDf6Thiy/cwtu0h
Ff2KXGtWOlheKWfAZD1Hpch6CJyJ0CS+DhuzEHNsBL9DgfVOG3U/xE4J4GGQc1kCLDIx
cmaq+hbLmeGMPgmJkWx51eWE7xxwjjKZOkcVBjkpOo6gjNlQZ4OH3fMmZepDTCCgIPxm
G1/IxwivwjP1+vHJuOlS9QiLiBCBt8cr7P5JC2+csIimzNdrYslEoAo78OCvBKODV3hS
ziIwSLMKlRt4xgbJt8T5miU45AimFkofUGqERkxRuUD2fmZhUWJwTSrQdbExBIvM/si7
ZOIA==
X-Gm-Message-State: AEkooutPE/uwizKcBacM8LFxStBe/+GzyJ9DPWeks9FPhsiCJfOLioTSfLZQIUpum1rF5gImTOxD1NFuCJ/FBw==
X-Received: by 10.107.3.65 with SMTP id 62mr16085858iod.140.1470952295541;
Thu, 11 Aug 2016 14:51:35 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <201608092002.u79K2qLm008342@delorie.com>
References: <201608092002 DOT u79K2qLm008342 AT delorie DOT com>
From: "Ozkan Sezer (sezeroz AT gmail DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Date: Fri, 12 Aug 2016 00:51:34 +0300
Message-ID: <CAA2C=vBE_pEtOvkkYfedc+077mCsbB9yRc0hkpyJPbJMEjU+pw@mail.gmail.com>
Subject: Re: ANNOUNCE: DJGPP port of GNU binutils 2.27 uploaded.
To: djgpp AT delorie DOT com
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 8/9/16, Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via
djgpp-announce AT delorie DOT com] <djgpp-announce AT delorie DOT com> wrote:
> This is a port of GNU binutils 2.27 to MSDOS/DJGPP.
[...]
> - The support of more than 64k relocations can be disable by defining the
>   DISABLE_64K_RELOC_SUPPORT environment variable to either y or Y.

Building this as part of a djgpp cross-toolchain fails:

../bfd/.libs/libbfd.a(coff-go32.o): In function `coff_swap_scnhdr_in':
/b227/bfd/coffswap.h:775: undefined reference to `coff_64k_relocation_enabled'
../bfd/.libs/libbfd.a(coff-go32.o): In function `coff_swap_scnhdr_out':
/b227/bfd/coffswap.h:815: undefined reference to `coff_64k_relocation_enabled'
../bfd/.libs/libbfd.a(coff-go32.o): In function `coff_set_alignment_hook':
/b227/bfd/coffcode.h:1990: undefined reference to `coff_64k_relocation_enabled'
../bfd/.libs/libbfd.a(coff-stgo32.o): In function `_bfd_go32_mkobject':
/b227/bfd/coff-stgo32.c:454: undefined reference to
`coff_64k_relocation_enabled'
../bfd/.libs/libbfd.a(coff-stgo32.o): In function `coff_swap_scnhdr_in':
/b227/bfd/coffswap.h:775: undefined reference to `coff_64k_relocation_enabled'
../bfd/.libs/libbfd.a(coff-stgo32.o):/b227/bfd/coffswap.h:815: more
undefined references to `coff_64k_relocation_enabled' follow
collect2: ld returned 1 exit status
make[4]: *** [as-new] Error 1

This is because coff_64k_relocation_enabled is in init.c, __DJGPP__ is
not defined (because this is a cross build), nor are COFF_GO32* defined
not as far as init.c knows, as those are defined only in coff-go32.c and
init.c cannot know such a thing.  I do not have a patch for fixing this
mess, yet.

--
O.S.

- Raw text -


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