Skip to content

ARM Optimization making 4.2 impossible to compile #1082

Closed

Description

@Belphemur

Hello,

When I tried to compile (today) the 4.2 branch I got:

arch/arm/kernel/built-in.o:(___ksymtab+mmiocpy+0x0): undefined reference to `mmiocpy'
arch/arm/kernel/built-in.o:(___ksymtab+mmioset+0x0): undefined reference to `mmioset'

I have been able to trace this to this patch: 1bd4678 .

If I revert it, I have a compiled and working kernel for Raspberry Pi B. I used the bcmrpi_defconfig + zswap module ( with zbud and lz4 compiled in the kernel). No other change done to the default config.

Activity

  1. pelwell commented on Jul 21, 2015

    @pelwell
    Contributor

    Yes, same here. On the Pi 1 we use optimised implementations of memcpy and memset. These need the equivalent mmiocpy and mmioset aliases adding.

    A patch is imminent.

  2. pelwell commented on Jul 21, 2015

    @pelwell
    Contributor

    That works for me now:

    [    0.000000] Linux version 4.2.0-rc3+ (phil@phil-VirtualBox) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #612 PREEMPT Tue Jul 21 11:20:38 BST 2015
    
  3. Belphemur commented on Jul 21, 2015

    @Belphemur
    Author

    Compile works too !
    Since I get those stack trace in dmesg, I don't know to what it's linked. This is before applying your patch.

    http://pastie.org/10304085

  4. pelwell commented on Jul 21, 2015

    @pelwell
    Contributor

    That is a different problem - it looks to be an ethernet checksum failure. Either there really is a problem in the hardware or there is a bug in the software.

    Can you create a new issue for this, giving as much information as you can - steps to reproduce, frequency etc.?

  5. Belphemur commented on Jul 21, 2015

    @Belphemur
    Author

    That what I thought too. Just wanted to be sure it wasn't linked to a memory access failure.

    I'll create another issue with my whole dmesg.

  6. 273 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions