This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: LD scripts - using expressions correctly


Hmmm, build failure :-

.../libiberty/fibheap.c:38:24: error: 'LONG_MIN
' undeclared (first use in this function)
 #define FIBHEAPKEY_MIN LONG_MIN

 I'm not sure if it's something wrong in my build environment (MinGW)
or my configure settings, or something else, but I'll perhaps try
working back to earlier versions and see how it goes.

AT least I know there's likely a fix for my original problem.

DP


On 7 July 2014 15:46, David Paterson <dnpaterson@gmail.com> wrote:
> Thanks.  I'm building at the moment and should be able to test that in
> a little while :-)
>
>
> On 7 July 2014 15:36, Alan Modra <amodra@gmail.com> wrote:
>> On Mon, Jul 07, 2014 at 03:06:45PM +0100, David Paterson wrote:
>>> I should have mentioned I'm using 2.24, but I'll pull the latest
>>> version from GIT and try that.
>>
>> If mainline works for you, then I expect fa72205c was the patch that
>> fixed your trouble.  Which also means you can work around this by
>> replacing:
>>
>>   _textVMA = (_exec_rom > 0) ? _textLMA : _ram_start;
>>   _textVMA += _textoffset;
>>
>> with:
>>
>>   _textVMA = ((_exec_rom > 0) ? _textLMA : _ram_start) + _textoffset;
>>
>> --
>> Alan Modra
>> Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]