All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anders Darander <anders@chargestorm.se>
To: winiston@futuraautomation.com
Cc: meta-ti@yoctoproject.org
Subject: Re: Build Error for AM437x-evm
Date: Thu, 28 Jan 2016 11:53:32 +0100	[thread overview]
Message-ID: <20160128105332.GF7112@ad.chargestorm.se> (raw)
In-Reply-To: <A6BAB694CCB64D07B1F044525E64943D@RD3>

* winiston@futuraautomation.com <winiston@futuraautomation.com> [160128 10:00]:
> -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding  -Os
> -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage
> -Wno-format-nonliteral -Werror=date-time -D__ARM__ -Wa,-mimplicit-it=always
> -mthumb -mthumb-interwork -mabi=aapcs-linux -mword-relocations
> -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common
> -ffixed-r9 -msoft-float -pipe -march=armv7-a    -D"KBUILD_STR(s)=#s"
> -D"KBUILD_BASENAME=KBUILD_STR(xhci_omap)"
> -D"KBUILD_MODNAME=KBUILD_STR(xhci_omap)" -c -o drivers/usb/host/xhci-omap.o
> drivers/usb/host/xhci-omap.c
> | drivers/usb/host/xhci-omap.c:34:5: error: 'board_usb_init' aliased to
> external symbol '__board_usb_init'
> |  int board_usb_init(int index, enum usb_init_type init)
> |      ^

This is the interesting part! (You could likely have search for error to
narrow it done).

The issue is a typical when when compiling older code with GCC 5.

Though, I would've thought that building u-boot-2015.07 with jethro was
working...

Here's a patch for your issue:
http://lists.denx.de/pipermail/u-boot/2015-October/229099.html

Cheers,
Anders

> | make[1]: *** [drivers/usb/host/xhci-omap.o] Error 1
> | make: *** [drivers/usb/host] Error 2
> | WARNING: exit code 1 from a shell command.
> | ERROR: oe_runmake failed
> | ERROR: Function failed: do_compile (log file is located at /home/winiston/poky/build/tmp/work/am437x_evm-poky-linux-gnueabi/u-boot-ti-staging/2015.07+gitAUTOINC+2b4b6fb691-r16/temp/log.do_compile.23933)
> ERROR: Task 73
> (/home/winiston/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb,
> do_compile) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 1910 tasks of which 1909 didn't need to be
> rerun and 1 failed.
> No currently running tasks (1909 of 2055)

> Summary: 1 task failed:
>  /home/winiston/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb,
> do_compile
> Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
> winiston@winiston-VirtualBox:~/poky/build$


-- 
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB


  reply	other threads:[~2016-01-28 10:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-25  9:32 Build Error for AM437x-evm winiston
2016-01-25 17:07 ` Denys Dmytriyenko
2016-01-25 17:39 ` Khem Raj
2016-01-28  6:21   ` winiston
2016-01-28  7:38     ` Anders Darander
2016-01-28  9:04       ` winiston
2016-01-28 10:53         ` Anders Darander [this message]
2016-01-28 12:57           ` winiston
2016-01-29  9:35           ` Image write " winiston
2016-02-11  9:46           ` Build " winiston

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=20160128105332.GF7112@ad.chargestorm.se \
    --to=anders@chargestorm.se \
    --cc=meta-ti@yoctoproject.org \
    --cc=winiston@futuraautomation.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.