mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: ptxdist@pengutronix.de, Mircea Ciocan <m.ciocan@ppc-ag.de>
Subject: Re: [ptxdist] u-Boot fails to link when compiling for iMX6ULL
Date: Fri, 4 Sep 2020 18:51:08 +0200	[thread overview]
Message-ID: <28895af6-ae2e-7512-e273-09aceca1a187@pengutronix.de> (raw)
In-Reply-To: <7cbe34dd-e001-e903-65cf-cabbe977f1fa@ppc-ag.de>

Hello,

On 8/27/20 1:29 PM, Mircea Ciocan wrote:
> Hello everybody, first I want to thank you for the fixing of chrony package rules, now it works like a clock :).
> 
> I need to have the ETH controlers active on the iMX6ULL EVK, but after activating everything related to the networking for the platform, the u-Boot fails to link (the modules containing the fecmxc_initialize() function compiles OK and the necessary header is included), but it seems that there is a linking problem in the rule, the error message is:
> 
> arm-v7a-linux-gnueabihf-ld.bfd: arch/arm/mach-imx/built-in.o: in function `cpu_eth_init':
> platform-imx6ullevk/build-target/u-boot-2020.01-build/platform-imx6ullevk/build-target/u-boot-2020.01/arch/arm/mach-imx/cpu.c:218: undefined reference to `fecmxc_initialize'
> Software/Firmware/platform-imx6ullevk/build-target/u-boot-2020.01/Makefile:1671: recipe for target 'u-boot' failed
> 
> Additional info: PTXDist version 2020.7, u-Boot 2020.01
> 
> The u-Boot compiles OK outside the PTXDist.

Run ptxdist with --verbose to see the compiler command line used to compile.
Reproduce the link error manually and report it to upstream.

> 
>  Many thanks,
> 
>  Mircea
> 
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

  reply	other threads:[~2020-09-04 16:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-27 11:29 Mircea Ciocan
2020-09-04 16:51 ` Ahmad Fatoum [this message]
2020-09-11  8:14   ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=28895af6-ae2e-7512-e273-09aceca1a187@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=m.ciocan@ppc-ag.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox