<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">08.05.2015 у 10:20 Georg Hieber
напісаў:<br>
</div>
<blockquote cite="mid:554C63CE.7030304@ghgrp.com" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
Anton,<br>
<br>
Which version (build) of the compiler / rtl did you use?<br>
This looks like an error that should have been fixed some time
ago.<br>
<br>
BR, Georg<br>
<br>
</blockquote>
<br>
Dear Georg!<br>
<br>
I've used 3.1.1 svn trunk cherry-picked at 05 of May.<br>
Binutils/libc were from Debian Jessie (8.0) installation.<br>
<br>
<br>
regards,<br>
Anton<br>
<br>
<blockquote cite="mid:554C63CE.7030304@ghgrp.com" type="cite"> <br>
<div class="moz-cite-prefix">Am 06.05.2015 09:01, schrieb Anton
Kavalenka:<br>
</div>
<blockquote
cite="mid:746365462.922914.1430895696836.JavaMail.yahoo@mail.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, sans-serif;font-size:16px">
<div id="yui_3_16_0_1_1430895305070_8193">Dear FPC-All!</div>
<div id="yui_3_16_0_1_1430895305070_8193"><br>
</div>
<div id="yui_3_16_0_1_1430895305070_8193">I've tried to
compile hello-world-through-UART example (in attacment) for
Atmega128 and got the following:</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style=""><br>
</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style="">/usr/local/lib/fpc/3.1.1/ppcrossavr
a.pas -WpATMEGA128 -al </div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style="">Free
Pascal Compiler version 3.1.1 [2015/05/05] for avr</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style="">Copyright
(c) 1993-2015 by Florian Klaempfl and others</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style="">Target
OS: Embedded</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style="">Compiling
a.pas</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style="">Assembling
a</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style="">Linking
a</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style="">/usr/local/lib/fpc/3.1.1/units/avr-embedded/rtl/atmega128.o:
In function `_START':</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style="">atmega128.pp:(.init.n_atmega128_ss__fpc_start+0x2):
relocation truncated to fit: R_AVR_13_PCREL against symbol
`Int00Handler' defined in
.text.n_atmega128_ss_default_irq_handler section in
/usr/local/lib/fpc/3.1.1/units/avr-embedded/rtl/atmega128.o</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style="">atmega128.pp:(.init.n_atmega128_ss__fpc_start+0x4):
relocation truncated to fit: R_AVR_13_PCREL against symbol
`Int01Handler' defined in
.text.n_atmega128_ss_default_irq_handler section in
/usr/local/lib/fpc/3.1.1/units/avr-embedded/rtl/atmega128.o</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style="">atmega128.pp:(.init.n_atmega128_ss__fpc_start+0x6):
relocation truncated to fit: R_AVR_13_PCREL against symbol
`Int02Handler' defined in
.text.n_atmega128_ss_default_irq_handler section in
/usr/local/lib/fpc/3.1.1/units/avr-embedded/rtl/atmega128.o</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style="">atmega128.pp:(.init.n_atmega128_ss__fpc_start+0x8):
relocation truncated to fit: R_AVR_13_PCREL against symbol
`Int03Handler' defined in
.text.n_atmega128_ss_default_irq_handler section in
/usr/local/lib/fpc/3.1.1/units/avr-embedded/rtl/atmega128.o</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style="">atmega128.pp:(.init.n_atmega128_ss__fpc_start+0xa):
relocation truncated to fit: R_AVR_13_PCREL against symbol
`Int04Handler' defined in
.text.n_atmega128_ss_default_irq_handler section in
/usr/local/lib/fpc/3.1.1/units/avr-embedded/rtl/atmega128.o</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style="">atmega128.pp:(.init.n_atmega128_ss__fpc_start+0xc):
relocation truncated to fit: R_AVR_13_PCREL against symbol
`Int05Handler' defined in
.text.n_atmega128_ss_default_irq_handler section in
/usr/local/lib/fpc/3.1.1/units/avr-embedded/rtl/atmega128.o</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style="">atmega128.pp:(.init.n_atmega128_ss__fpc_start+0xe):
relocation truncated to fit: R_AVR_13_PCREL against symbol
`Int06Handler' defined in
.text.n_atmega128_ss_default_irq_handler section in
/usr/local/lib/fpc/3.1.1/units/avr-embedded/rtl/atmega128.o</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style="">atmega128.pp:(.init.n_atmega128_ss__fpc_start+0x10):
relocation truncated to fit: R_AVR_13_PCREL against symbol
`Int07Handler' defined in
.text.n_atmega128_ss_default_irq_handler section in
/usr/local/lib/fpc/3.1.1/units/avr-embedded/rtl/atmega128.o</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style="">atmega128.pp:(.init.n_atmega128_ss__fpc_start+0x12):
relocation truncated to fit: R_AVR_13_PCREL against symbol
`Int08Handler' defined in
.text.n_atmega128_ss_default_irq_handler section in
/usr/local/lib/fpc/3.1.1/units/avr-embedded/rtl/atmega128.o</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style="">atmega128.pp:(.init.n_atmega128_ss__fpc_start+0x14):
relocation truncated to fit: R_AVR_13_PCREL against symbol
`Int09Handler' defined in
.text.n_atmega128_ss_default_irq_handler section in
/usr/local/lib/fpc/3.1.1/units/avr-embedded/rtl/atmega128.o</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style="">atmega128.pp:(.init.n_atmega128_ss__fpc_start+0x16):
additional relocation overflows omitted from the output</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style="">a.pas(22,25)
Error: Error while linking</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style="">a.pas(22,25)
Fatal: There were 1 errors compiling module, stopping</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style="">Fatal:
Compilation aborted</div>
<div dir="ltr" class="" style=""
id="yui_3_16_0_1_1430895305070_8361"><br class="" style="">
</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style=""
dir="ltr">regards,</div>
<div id="yui_3_16_0_1_1430895305070_8193" class="" style=""
dir="ltr">Anton Kavalenka</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
fpc-devel maillist - <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a>
</pre>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>