netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Simon Horman <simon.horman@corigine.com>
To: Maxime Chevallier <maxime.chevallier@bootlin.com>
Cc: Jakub Kicinski <kuba@kernel.org>,
	kernel test robot <lkp@intel.com>,
	oe-kbuild-all@lists.linux.dev, netdev@vger.kernel.org
Subject: Re: [net-next:main 3/19] drivers/net/ethernet/altera/altera_tse_main.c:1419: undefined reference to `lynx_pcs_create_mdiodev'
Date: Tue, 6 Jun 2023 09:03:48 +0200	[thread overview]
Message-ID: <ZH7aVIieVCXngfZm@corigine.com> (raw)
In-Reply-To: <20230606085233.41db238a@pc-7.home>

On Tue, Jun 06, 2023 at 08:52:33AM +0200, Maxime Chevallier wrote:
> Hello Jakub,
> 
> On Mon, 5 Jun 2023 13:28:39 -0700
> Jakub Kicinski <kuba@kernel.org> wrote:
> 
> > On Tue, 6 Jun 2023 03:17:47 +0800 kernel test robot wrote:
> > > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git main
> > > head:   69da40ac3481993d6f599c98e84fcdbbf0bcd7e0
> > > commit: db48abbaa18e571106711b42affe68ca6f36ca5a [3/19] net: ethernet: altera-tse: Convert to mdio-regmap and use PCS Lynx
> > > config: nios2-defconfig (https://download.01.org/0day-ci/archive/20230606/202306060325.l3TVneV8-lkp@intel.com/config)
> > > compiler: nios2-linux-gcc (GCC) 12.3.0
> > > reproduce (this is a W=1 build):
> > >         mkdir -p ~/bin
> > >         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> > >         chmod +x ~/bin/make.cross
> > >         # https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=db48abbaa18e571106711b42affe68ca6f36ca5a
> > >         git remote add net-next https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
> > >         git fetch --no-tags net-next main
> > >         git checkout db48abbaa18e571106711b42affe68ca6f36ca5a
> > >         # save the config file
> > >         mkdir build_dir && cp config build_dir/.config
> > >         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=nios2 olddefconfig
> > >         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=nios2 SHELL=/bin/bash
> > > 
> > > If you fix the issue, kindly add following tag where applicable
> > > | Reported-by: kernel test robot <lkp@intel.com>
> > > | Closes: https://lore.kernel.org/oe-kbuild-all/202306060325.l3TVneV8-lkp@intel.com/
> > > 
> > > All errors (new ones prefixed by >>):
> > > 
> > >    nios2-linux-ld: drivers/net/ethernet/altera/altera_tse_main.o: in function `altera_tse_probe':  
> > > >> drivers/net/ethernet/altera/altera_tse_main.c:1419: undefined reference to `lynx_pcs_create_mdiodev'    
> > >    drivers/net/ethernet/altera/altera_tse_main.c:1419:(.text+0xd7c): relocation truncated to fit: R_NIOS2_CALL26 against `lynx_pcs_create_mdiodev'  
> > > >> nios2-linux-ld: drivers/net/ethernet/altera/altera_tse_main.c:1451: undefined reference to `lynx_pcs_destroy'    
> > >    drivers/net/ethernet/altera/altera_tse_main.c:1451:(.text+0xdf8): relocation truncated to fit: R_NIOS2_CALL26 against `lynx_pcs_destroy'
> > >    nios2-linux-ld: drivers/net/ethernet/altera/altera_tse_main.o: in function `altera_tse_remove':  
> > > >> drivers/net/ethernet/altera/altera_tse_main.c:1473: undefined reference to `lynx_pcs_destroy'    
> > >    drivers/net/ethernet/altera/altera_tse_main.c:1473:(.text+0x1564): relocation truncated to fit: R_NIOS2_CALL26 against `lynx_pcs_destroy'  
> > 
> > Hum, if it doesn't build without the patch from Mark's tree, I think
> > we'll need to revert..
> 
> Hmpf that's an unrelated error on my side... I've sent a followup
> fix a few minutes ago. Sorry about that.

First, sorry for this mess, which I feel partly responsible for.

Second, can I clarify that the patchset [1] is intended to
resolve the build problems we have seen over the past day?

[1] [PATCH net-next 0/2] Followup fixes for the dwmac and altera lynx conversion
    https://lore.kernel.org/all/20230606064914.134945-1-maxime.chevallier@bootlin.com/

      reply	other threads:[~2023-06-06  7:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-05 19:17 [net-next:main 3/19] drivers/net/ethernet/altera/altera_tse_main.c:1419: undefined reference to `lynx_pcs_create_mdiodev' kernel test robot
2023-06-05 20:28 ` Jakub Kicinski
2023-06-06  6:52   ` Maxime Chevallier
2023-06-06  7:03     ` Simon Horman [this message]

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=ZH7aVIieVCXngfZm@corigine.com \
    --to=simon.horman@corigine.com \
    --cc=kuba@kernel.org \
    --cc=lkp@intel.com \
    --cc=maxime.chevallier@bootlin.com \
    --cc=netdev@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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;
as well as URLs for NNTP newsgroup(s).