[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Binutils 2.18 + GCC 4.2.3
Vincent Rivière <vincent.riviere@freesbee.fr> writes:
> Alan Hourihane wrote:
>> I get this building gcc with the above patches.....
>>
>> /ISO/Atari/GCC/gcc-4.2.3-mint-native/m68k-atari-mint/mshort/libstdc
>> ++-v3/include/iosfwd:71: warning: alignment of
>> 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char>
>>> ::_ZTVSt15basic_stringbufIcSt11char_traitsIcESaIcEE' is greater than
>> maximum object file alignment. Using 2
>
> This warning is issued when the alignment requested by the C compiler
> (probably ".align 4") is not supported by the assembler.
> You have patched GCC, but you probably forgot to patch the binutils (or
> maybe it needs additional patching).
The warning is coming from the compiler. If you tell the compiler that
the biggest alignment supported by the object file format is 2 then it
will not allow bigger alignments. You need to configure
MAX_OFILE_ALIGNMENT as appropriate.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."