From: Masahiro Yamada Date: Wed, 11 Dec 2013 19:35:19 +0900 Subject: [U-Boot] Some M68K boards are depending the specific order of libraries In-Reply-To: <52A838E7.2060908@gmail.com> References: <20131211183226.BE5B.AA925319@jp.panasonic.com> <52A838E7.2060908@gmail.com> Message-ID: <20131211193518.BE5F.AA925319@jp.panasonic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Andreas, > > The build will fail with error messages > > " relocation truncated to fit: R_68K_PC16 against symbol" > > > > What is this error? > > It is a linker error stating that the specific call (for example 'bsr > cpu_init_f' @start.S:201) will not work cause (and this is guessing) the > PC relative jump with 16 bit offset can not work cause the symbol > cpu_init_f is to far away. > I had similiar issue in linux kernel for avr32 these days. I found a > work around, please read https://lkml.org/lkml/2013/10/24/156 to > understand it. Thanks! I could understand well. But, I am not a M68K expert, nor have a M68K board. So, I will wait for a while until M68K maintainers catch this. Best Regards Masahiro Yamada