delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2012/12/29/14:01:20

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Message-ID: <50DF3B66.8030605@iki.fi>
Date: Sat, 29 Dec 2012 20:50:14 +0200
From: Andris Pavenis <andris DOT pavenis AT iki DOT fi>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: djgpp AT delorie DOT com
CC: Maksim Soifer <masaykh AT gmail DOT com>
Subject: Re: Assembler messages: Error: junk `@GOT' after expression
References: <7c7717e0-4231-46a9-b219-ebf5f4bd3fe6 AT googlegroups DOT com>
In-Reply-To: <7c7717e0-4231-46a9-b219-ebf5f4bd3fe6@googlegroups.com>
Reply-To: djgpp AT delorie DOT com

On 12/29/2012 07:20 PM, Maksim Soifer wrote:
> c:/progs/dj/tmp/ccWkjb5S.s: Assembler messages:
> c:/progs/dj/tmp/ccWkjb5S.s:20: Error: junk `@GOT' after expression
> and many like this
>
> how to trace them and fix?
>

Did You use GCC command line option -fPIC or -fpic?

It is broken for many versions of DJGPP port of GCC. Last update of port 
of GCC-4.7.2 shold warn that -fPIC is ignored as not supported

Andris


- Raw text -


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