You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/07/21 05:32:11 UTC

[GitHub] [incubator-nuttx] btashton opened a new issue #1438: AVR builds now failing in macOS

btashton opened a new issue #1438:
URL: https://github.com/apache/incubator-nuttx/issues/1438


   All of the AVR builds are now failing on macOS.   This seems to have just popped up with some of the new build configuration abstractions.  It also appears to be using the clang binutils instead of the avr-binutils.
   
   @xiaoxiang781216 do you have any idea?  These builds were passing after AVR was enabled yesterday.
   
   ```
   ====================================================================================
   2020-07-21T04:09:46.1488220Z Configuration/Tool: micropendous3/hello
   2020-07-21T04:09:46.2770880Z ------------------------------------------------------------------------------------
   2020-07-21T04:09:46.2772350Z   Cleaning...
   2020-07-21T04:09:46.2772490Z   Configuring...
   2020-07-21T04:10:04.6934990Z   Building NuttX...
   2020-07-21T04:10:27.7027300Z warning: /Applications/Xcode_11.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: libdrivers.a the table of contents is empty (no object file members in the library define global symbols)
   2020-07-21T04:10:27.8030350Z warning: /Applications/Xcode_11.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: libboards.a the table of contents is empty (no object file members in the library define global symbols)
   2020-07-21T04:10:34.5362160Z warning: /Applications/Xcode_11.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: libsched.a the table of contents is empty (no object file members in the library define global symbols)
   2020-07-21T04:10:36.3791890Z warning: /Applications/Xcode_11.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: libmm.a the table of contents is empty (no object file members in the library define global symbols)
   2020-07-21T04:10:39.4874540Z warning: /Applications/Xcode_11.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: libarch.a the table of contents is empty (no object file members in the library define global symbols)
   2020-07-21T04:10:39.9999220Z warning: /Applications/Xcode_11.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/runner/work/incubator-nuttx/incubator-nuttx/sources/apps/libapps.a the table of contents is empty (no object file members in the library define global symbols)
   2020-07-21T04:10:40.2044710Z warning: /Applications/Xcode_11.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/runner/work/incubator-nuttx/incubator-nuttx/sources/apps/libapps.a the table of contents is empty (no object file members in the library define global symbols)
   2020-07-21T04:10:44.3106590Z warning: /Applications/Xcode_11.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: libfs.a the table of contents is empty (no object file members in the library define global symbols)
   2020-07-21T04:10:44.9036030Z warning: /Applications/Xcode_11.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: libbinfmt.a the table of contents is empty (no object file members in the library define global symbols)
   2020-07-21T04:10:46.8766380Z warning: /Applications/Xcode_11.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: libc.a the table of contents is empty (no object file members in the library define global symbols)
   2020-07-21T04:10:47.2185020Z warning: /Applications/Xcode_11.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: libboard.a the table of contents is empty (no object file members in the library define global symbols)
   2020-07-21T04:10:47.3747490Z avr-ld: at90usb_head.o: in function `vectortab':
   2020-07-21T04:10:47.3748400Z up_nommuhead.S:(.vectors+0x4): undefined reference to `at90usb_int0'
   2020-07-21T04:10:47.3749050Z avr-ld: up_nommuhead.S:(.vectors+0x8): undefined reference to `at90usb_int1'
   2020-07-21T04:10:47.3749610Z avr-ld: up_nommuhead.S:(.vectors+0xc): undefined reference to `at90usb_int2'
   2020-07-21T04:10:47.3750160Z avr-ld: up_nommuhead.S:(.vectors+0x10): undefined reference to `at90usb_int3'
   2020-07-21T04:10:47.3750720Z avr-ld: up_nommuhead.S:(.vectors+0x14): undefined reference to `at90usb_int4'
   2020-07-21T04:10:47.3751290Z avr-ld: up_nommuhead.S:(.vectors+0x18): undefined reference to `at90usb_int5'
   2020-07-21T04:10:47.3751840Z avr-ld: up_nommuhead.S:(.vectors+0x1c): undefined reference to `at90usb_int6'
   2020-07-21T04:10:47.3753020Z avr-ld: up_nommuhead.S:(.vectors+0x20): undefined reference to `at90usb_int7'
   2020-07-21T04:10:47.3753700Z avr-ld: up_nommuhead.S:(.vectors+0x24): undefined reference to `at90usb_pcint0'
   2020-07-21T04:10:47.3754710Z avr-ld: up_nommuhead.S:(.vectors+0x28): undefined reference to `at90usb_usbgen'
   2020-07-21T04:10:47.3755350Z avr-ld: up_nommuhead.S:(.vectors+0x2c): undefined reference to `at90usb_usbep'
   2020-07-21T04:10:47.3755930Z avr-ld: up_nommuhead.S:(.vectors+0x30): undefined reference to `at90usb_wdt'
   2020-07-21T04:10:47.3756490Z avr-ld: up_nommuhead.S:(.vectors+0x34): undefined reference to `at90usb_t2compa'
   2020-07-21T04:10:47.3757050Z avr-ld: up_nommuhead.S:(.vectors+0x38): undefined reference to `at90usb_t2compb'
   2020-07-21T04:10:47.3757610Z avr-ld: up_nommuhead.S:(.vectors+0x3c): undefined reference to `at90usb_t2ovf'
   2020-07-21T04:10:47.3758160Z avr-ld: up_nommuhead.S:(.vectors+0x40): undefined reference to `at90usb_t1capt'
   2020-07-21T04:10:47.3758760Z avr-ld: up_nommuhead.S:(.vectors+0x44): undefined reference to `at90usb_t1compa'
   2020-07-21T04:10:47.3759410Z avr-ld: up_nommuhead.S:(.vectors+0x48): undefined reference to `at90usb_t1compb'
   2020-07-21T04:10:47.3760040Z avr-ld: up_nommuhead.S:(.vectors+0x4c): undefined reference to `at90usb_t1compc'
   2020-07-21T04:10:47.3760630Z avr-ld: up_nommuhead.S:(.vectors+0x50): undefined reference to `at90usb_t1ovf'
   2020-07-21T04:10:47.3761180Z avr-ld: up_nommuhead.S:(.vectors+0x54): undefined reference to `at90usb_t0compa'
   2020-07-21T04:10:47.3761730Z avr-ld: up_nommuhead.S:(.vectors+0x58): undefined reference to `at90usb_t0compb'
   2020-07-21T04:10:47.3762280Z avr-ld: up_nommuhead.S:(.vectors+0x5c): undefined reference to `at90usb_t0ovf'
   2020-07-21T04:10:47.3762830Z avr-ld: up_nommuhead.S:(.vectors+0x60): undefined reference to `at90usb_spi'
   2020-07-21T04:10:47.3763840Z avr-ld: up_nommuhead.S:(.vectors+0x64): undefined reference to `at90usb_u1rx'
   2020-07-21T04:10:47.3764710Z avr-ld: up_nommuhead.S:(.vectors+0x68): undefined reference to `at90usb_u1dre'
   2020-07-21T04:10:47.3765810Z avr-ld: up_nommuhead.S:(.vectors+0x6c): undefined reference to `at90usb_u1tx'
   2020-07-21T04:10:47.3766370Z avr-ld: up_nommuhead.S:(.vectors+0x70): undefined reference to `at90usb_anacomp'
   2020-07-21T04:10:47.3766940Z avr-ld: up_nommuhead.S:(.vectors+0x74): undefined reference to `at90usb_adc'
   2020-07-21T04:10:47.3767830Z avr-ld: up_nommuhead.S:(.vectors+0x78): undefined reference to `at90usb_ee'
   2020-07-21T04:10:47.3768390Z avr-ld: up_nommuhead.S:(.vectors+0x7c): undefined reference to `at90usb_t3capt'
   2020-07-21T04:10:47.3768950Z avr-ld: up_nommuhead.S:(.vectors+0x80): undefined reference to `at90usb_t3compa'
   2020-07-21T04:10:47.3769580Z avr-ld: up_nommuhead.S:(.vectors+0x84): undefined reference to `at90usb_t3compb'
   2020-07-21T04:10:47.3770240Z avr-ld: up_nommuhead.S:(.vectors+0x88): undefined reference to `at90usb_t3compc'
   2020-07-21T04:10:47.3770800Z avr-ld: up_nommuhead.S:(.vectors+0x8c): undefined reference to `at90usb_t3ovf'
   2020-07-21T04:10:47.3771350Z avr-ld: up_nommuhead.S:(.vectors+0x90): undefined reference to `at90usb_twi'
   2020-07-21T04:10:47.3771890Z avr-ld: up_nommuhead.S:(.vectors+0x94): undefined reference to `at90usb_spmrdy'
   2020-07-21T04:10:47.3772410Z avr-ld: at90usb_head.o: in function `__do_clear_bss':
   2020-07-21T04:10:47.3772930Z up_nommuhead.S:(.init+0x32): undefined reference to `up_lowinit'
   2020-07-21T04:10:47.3773460Z avr-ld: up_nommuhead.S:(.init+0x36): undefined reference to `nx_start'
   2020-07-21T04:10:47.3885110Z make[1]: *** [nuttx] Error 1
   2020-07-21T04:10:47.3887440Z make: *** [nuttx] Error 2
   2020-07-21T04:10:47.4947420Z   Normalize micropendous3/hello
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] xiaoxiang781216 commented on issue #1438: AVR builds now failing in macOS

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 commented on issue #1438:
URL: https://github.com/apache/incubator-nuttx/issues/1438#issuecomment-661648301


   This patch move AR macro from board's Make.defs to arch's toolchain.defs:
   https://github.com/apache/incubator-nuttx/pull/1426
   I used the same definition(AR = $(ARCROSSDEV)ar rcs) for all arch which use gcc/clang, but it's unfortunate that avr forget to define ARCROSSDEV.
   After comparing ARCROSSDEV definiton in all arch, it seem that ARCROSSDEV always equals CROSSDEV, so I prepare this patch:
   https://github.com/apache/incubator-nuttx/pull/1439
   to remove ARCROSSDEV and all reference.
   So avr should pass the build now.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] btashton closed issue #1438: AVR builds now failing in macOS

Posted by GitBox <gi...@apache.org>.
btashton closed issue #1438:
URL: https://github.com/apache/incubator-nuttx/issues/1438


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org