The arch/arm/src/sama5/hardware/_sama5d3x_memorymap.h update in commit 730133d84a62b77ced3f54478ca2f470c0364c0d "SAMA5D27 peripheral support - USB Host working (#444)"
make the following config build break. ==================================================================================== Configuration/Tool: sama5d3x-ek/ov2640,CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL ------------------------------------------------------------------------------------ Cleaning... Configuring... Copy files Select CONFIG_HOST_LINUX=y Refreshing... Disabling CONFIG_ARMV7A_TOOLCHAIN_GNU_EABIL Enabling CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIL Refreshing... Building NuttX... ------------------------------------------------------------------------------------ chip/sam_memories.c: In function 'periphb_physregaddr': chip/sam_memories.c:101:5: warning: "SAM_PERIPHB_PSECTION" is not defined, evaluates to 0 [-Wundef] 101 | #if SAM_PERIPHB_PSECTION != SAM_PERIPHB_VSECTION | ^~~~~~~~~~~~~~~~~~~~ chip/sam_memories.c:110:10: error: 'SAM_PERIPHB_PSECTION' undeclared (first use in this function); did you mean 'SAM_PERIPHA_PSECTION'? 110 | return SAM_PERIPHB_PSECTION + sectoffset; | ^~~~~~~~~~~~~~~~~~~~ | SAM_PERIPHA_PSECTION chip/sam_memories.c:110:10: note: each undeclared identifier is reported only once for each function it appears in chip/sam_memories.c: In function 'sysc_physregaddr': chip/sam_memories.c:164:5: warning: "SAM_SYSC_PSECTION" is not defined, evaluates to 0 [-Wundef] 164 | #if SAM_SYSC_PSECTION != SAM_SYSC_VSECTION | ^~~~~~~~~~~~~~~~~ chip/sam_memories.c:173:10: error: 'SAM_SYSC_PSECTION' undeclared (first use in this function); did you mean 'SAM_SYSC_VSECTION'? 173 | return SAM_SYSC_PSECTION + sectoffset; | ^~~~~~~~~~~~~~~~~ | SAM_SYSC_VSECTION chip/sam_memories.c: In function 'sam_physregaddr': chip/sam_memories.c:716:45: error: 'SAM_PERIPHA_SIZE' undeclared (first use in this function); did you mean 'SAM_PERIPHB_SIZE'? 716 | virtregaddr < (SAM_PERIPHA_VSECTION + SAM_PERIPHA_SIZE)) | ^~~~~~~~~~~~~~~~ | SAM_PERIPHB_SIZE In file included from /home/jenkins/jenkins-slave/workspace/NuttX-Nightly-Build/nuttx/arch/arm/src/chip/hardware/sam_memorymap.h:49, from /home/jenkins/jenkins-slave/workspace/NuttX-Nightly-Build/nuttx/arch/arm/src/chip/chip.h:49, from /home/jenkins/jenkins-slave/workspace/NuttX-Nightly-Build/nuttx/arch/arm/src/armv7-a/mmu.h:57, from chip/sama5d3x_memorymap.c:42, from chip/sam_memorymap.c:50: /home/jenkins/jenkins-slave/workspace/NuttX-Nightly-Build/nuttx/arch/arm/src/chip/hardware/_sama5d3x_memorymap.h:245:45: error: 'SAM_PERIPHA_SIZE' undeclared here (not in a function); did you mean 'SAM_PERIPHB_SIZE'? 245 | #define SAM_PERIPHA_NSECTIONS _NSECTIONS(SAM_PERIPHA_SIZE) | ^~~~~~~~~~~~~~~~ /home/jenkins/jenkins-slave/workspace/NuttX-Nightly-Build/nuttx/arch/arm/src/chip/hardware/_sama5d3x_memorymap.h:217:37: note: in definition of macro '_NSECTIONS' 217 | #define _NSECTIONS(b) (((b)+0x000fffff) >> 20) | ^ chip/sama5d3x_memorymap.c:212:27: note: in expansion of macro 'SAM_PERIPHA_NSECTIONS' 212 | SAM_PERIPHA_MMUFLAGS, SAM_PERIPHA_NSECTIONS | ^~~~~~~~~~~~~~~~~~~~~ In file included from chip/sam_memorymap.c:50: chip/sama5d3x_memorymap.c:215:5: error: 'SAM_PERIPHB_PSECTION' undeclared here (not in a function); did you mean 'SAM_PERIPHA_PSECTION'? 215 | { SAM_PERIPHB_PSECTION, SAM_PERIPHB_VSECTION, | ^~~~~~~~~~~~~~~~~~~~ | SAM_PERIPHA_PSECTION chip/sama5d3x_memorymap.c:219:5: error: 'SAM_SYSC_PSECTION' undeclared here (not in a function); did you mean 'SAM_SYSC_VSECTION'? 219 | { SAM_SYSC_PSECTION, SAM_SYSC_VSECTION, | ^~~~~~~~~~~~~~~~~ | SAM_SYSC_VSECTION make[1]: *** [sam_memorymap.o] Error 1 make[1]: *** [sam_memories.o] Error 1 Apache Jenkins Server <jenk...@builds.apache.org> 于2020年3月6日周五 下午2:01写道: > See <https://builds.apache.org/job/NuttX-Nightly-Build/55/display/redirect > > > > Changes: > > > ------------------------------------------ > [...truncated 616.44 KB...] > net_ipv4addr_hdrcopy(ipv4->srcipaddr, &dev->d_ipaddr); > ^~~~~~~~~~~~~~~~~~~~ > tcp/tcp_send.c:336:7: warning: dereferencing type-punned pointer will > break strict-aliasing rules [-Wstrict-aliasing] > net_ipv4addr_hdrcopy(ipv4->destipaddr, &conn->u.ipv4.raddr); > ^~~~~~~~~~~~~~~~~~~~ > tcp/tcp_send.c: In function 'tcp_reset': > tcp/tcp_send.c:540:7: warning: dereferencing type-punned pointer will > break strict-aliasing rules [-Wstrict-aliasing] > net_ipv4addr_hdrcopy(ipv4->srcipaddr, &dev->d_ipaddr); > ^~~~~~~~~~~~~~~~~~~~ > In file included from devif/devif_loopback.c:45:0: > devif/devif_loopback.c: In function 'is_loopback': > devif/devif_loopback.c:55:30: warning: dereferencing type-punned pointer > will break strict-aliasing rules [-Wstrict-aliasing] > #define IPv4BUF ((FAR struct ipv4_hdr_s *)(dev->d_buf + dev->d_llhdrlen)) > ^ > devif/devif_loopback.c:68:32: note: in expansion of macro 'IPv4BUF' > net_ipv4addr_hdrcmp(IPv4BUF->destipaddr, &dev->d_ipaddr)) > ^~~~~~~ > > ==================================================================================== > Skipping: sim/nxwm > > ==================================================================================== > Configuration/Tool: sim/ipforward > > ------------------------------------------------------------------------------------ > Cleaning... > Configuring... > Copy files > Select CONFIG_HOST_LINUX=y > Refreshing... > Building NuttX... > > ------------------------------------------------------------------------------------ > > ==================================================================================== > Configuration/Tool: sim/nx > > ------------------------------------------------------------------------------------ > Cleaning... > Configuring... > Copy files > Select CONFIG_HOST_LINUX=y > Refreshing... > Building NuttX... > > ------------------------------------------------------------------------------------ > > ==================================================================================== > Configuration/Tool: sim/ostest > > ------------------------------------------------------------------------------------ > Cleaning... > Configuring... > Copy files > Select CONFIG_HOST_LINUX=y > Refreshing... > Building NuttX... > > ------------------------------------------------------------------------------------ > > ==================================================================================== > Configuration/Tool: sim/mount > > ------------------------------------------------------------------------------------ > Cleaning... > Configuring... > Copy files > Select CONFIG_HOST_LINUX=y > Refreshing... > Building NuttX... > > ------------------------------------------------------------------------------------ > > ==================================================================================== > Configuration/Tool: sim/minibasic > > ------------------------------------------------------------------------------------ > Cleaning... > Configuring... > Copy files > Select CONFIG_HOST_LINUX=y > Refreshing... > Building NuttX... > > ------------------------------------------------------------------------------------ > > ==================================================================================== > Configuration/Tool: sim/tcpblaster > > ------------------------------------------------------------------------------------ > Cleaning... > Configuring... > Copy files > Select CONFIG_HOST_LINUX=y > Refreshing... > Building NuttX... > > ------------------------------------------------------------------------------------ > tcpblaster_server.c: In function 'tcpblaster_server': > tcpblaster_server.c:256:71: warning: passing argument 1 of 'localtime' > from incompatible pointer type [-Wincompatible-pointer-types] > strftime(timebuff, 100, "%Y-%m-%d %H:%M:%S.000", localtime > (&curr)); > ^ > In file included from tcpblaster_server.c:50:0: > /usr/include/time.h:123:19: note: expected 'const time_t * {aka const long > int *}' but argument is of type 'struct timespec *' > extern struct tm *localtime (const time_t *__timer) __THROW; > ^~~~~~~~~ > tcpblaster_client.c: In function 'tcpblaster_client': > tcpblaster_client.c:230:71: warning: passing argument 1 of 'localtime' > from incompatible pointer type [-Wincompatible-pointer-types] > strftime(timebuff, 100, "%Y-%m-%d %H:%M:%S.000", localtime > (&curr)); > ^ > In file included from < > https://builds.apache.org/job/NuttX-Nightly-Build/ws/nuttx/include/signal.h > >:47:0, > from < > https://builds.apache.org/job/NuttX-Nightly-Build/ws/nuttx/include/nuttx/sched.h > >:48, > from < > https://builds.apache.org/job/NuttX-Nightly-Build/ws/nuttx/include/sched.h > >:50, > from < > https://builds.apache.org/job/NuttX-Nightly-Build/ws/nuttx/include/stdio.h > >:48, > from tcpblaster_client.c:45: > <https://builds.apache.org/job/NuttX-Nightly-Build/ws/nuttx/include/time.h>:205:16: > note: expected 'const time_t * {aka const unsigned int *}' but argument is > of type 'struct timespec *' > FAR struct tm *localtime(FAR const time_t *timep); > ^~~~~~~~~ > net/tun.c:1061:13: warning: 'tun_ipv6multicast' defined but not used > [-Wunused-function] > static void tun_ipv6multicast(FAR struct tun_device_s *priv) > ^~~~~~~~~~~~~~~~~ > > ==================================================================================== > Configuration/Tool: sim/touchscreen > > ------------------------------------------------------------------------------------ > Cleaning... > Configuring... > Copy files > Select CONFIG_HOST_LINUX=y > Refreshing... > Building NuttX... > > ------------------------------------------------------------------------------------ > > ==================================================================================== > Configuration/Tool: sim/bas > > ------------------------------------------------------------------------------------ > Cleaning... > Configuring... > Copy files > Select CONFIG_HOST_LINUX=y > Refreshing... > Building NuttX... > > ------------------------------------------------------------------------------------ > In file included from bas.c:84:0: > bas.c: In function 'bas_interpreter': > bas_error.h:110:37: warning: left-hand operand of comma expression has no > effect [-Wunused-value] > #define NOSUCHLINE STATIC+40, _("No such line") > ^ > bas.c:2425:52: note: in expansion of macro 'NOSUCHLINE' > FS_putChars(STDCHANNEL, (NOSUCHLINE)); > ^~~~~~~~~~ > bas_fs.c:107:22: warning: 'g_vt100_colormap' defined but not used > [-Wunused-const-variable=] > static const uint8_t g_vt100_colormap[8] = > ^~~~~~~~~~~~~~~~ > <stdout>:4048:16: warning: 'input' defined but not used [-Wunused-function] > > ==================================================================================== > Configuration/Tool: sim/mtdpart > > ------------------------------------------------------------------------------------ > Cleaning... > Configuring... > Copy files > Select CONFIG_HOST_LINUX=y > Refreshing... > Building NuttX... > > ------------------------------------------------------------------------------------ > > ==================================================================================== > Configuration/Tool: sim/spiffs > > ------------------------------------------------------------------------------------ > Cleaning... > Configuring... > Copy files > Select CONFIG_HOST_LINUX=y > Refreshing... > Building NuttX... > > ------------------------------------------------------------------------------------ > > ==================================================================================== > Configuration/Tool: sim/ustream > > ------------------------------------------------------------------------------------ > Cleaning... > Configuring... > Copy files > Select CONFIG_HOST_LINUX=y > Refreshing... > Building NuttX... > > ------------------------------------------------------------------------------------ > local/local_connect.c: In function 'psock_local_connect': > local/local_connect.c:292:2: warning: #warning Missing logic [-Wcpp] > #warning Missing logic > ^~~~~~~ > > ==================================================================================== > Configuration/Tool: sim/userfs > > ------------------------------------------------------------------------------------ > Cleaning... > Configuring... > Copy files > Select CONFIG_HOST_LINUX=y > Refreshing... > Building NuttX... > > ------------------------------------------------------------------------------------ > local/local_fifo.c: In function 'local_release_halfduplex': > local/local_fifo.c:449:4: warning: #warning Missing logic [-Wcpp] > # warning Missing logic > ^~~~~~~ > local/local_sockif.c: In function 'local_connect': > local/local_sockif.c:550:2: warning: #warning Missing logic [-Wcpp] > #warning Missing logic > ^~~~~~~ > local/local_sockif.c: In function 'local_send': > local/local_sockif.c:695:2: warning: #warning Missing logic [-Wcpp] > #warning Missing logic > ^~~~~~~ > local/local_connect.c: In function 'psock_local_connect': > local/local_connect.c:292:2: warning: #warning Missing logic [-Wcpp] > #warning Missing logic > ^~~~~~~ > > ==================================================================================== > Skipping: sim/rpproxy > > ==================================================================================== > Configuration/Tool: sim/dsptest > > ------------------------------------------------------------------------------------ > Cleaning... > Configuring... > Copy files > Select CONFIG_HOST_LINUX=y > Refreshing... > Building NuttX... > > ------------------------------------------------------------------------------------ > --2020-03-06 05:59:25-- > https://github.com/ThrowTheSwitch/Unity/archive/v2.4.3.tar.gz > Resolving github.com (github.com)... 192.30.255.112 > Connecting to github.com (github.com)|192.30.255.112|:443... connected. > HTTP request sent, awaiting response... 302 Found > Location: https://codeload.github.com/ThrowTheSwitch/Unity/tar.gz/v2.4.3 > [following] > --2020-03-06 05:59:25-- > https://codeload.github.com/ThrowTheSwitch/Unity/tar.gz/v2.4.3 > Resolving codeload.github.com (codeload.github.com)... 192.30.255.121 > Connecting to codeload.github.com (codeload.github.com)|192.30.255.121|:443... > connected. > HTTP request sent, awaiting response... 200 OK > Length: unspecified [application/x-gzip] > Saving to: 'v2.4.3.tar.gz' > > 0K .......... .......... .......... .......... .......... 5.22M > 50K .......... .......... .......... .......... .......... 11.1M > 100K .......... .......... .......... .......... .......... 27.8M > 150K .......... .......... .......... .......... .......... 3.04M > 200K .......... .......... .......... .......... .......... 5.09M > 250K ....... 23.5M=0.04s > > 2020-03-06 05:59:25 (6.07 MB/s) - 'v2.4.3.tar.gz' saved [264150] > > > ==================================================================================== > Configuration/Tool: qemu-i486/nsh > > ------------------------------------------------------------------------------------ > Cleaning... > Configuring... > Copy files > Select CONFIG_HOST_LINUX=y > Refreshing... > Building NuttX... > > ------------------------------------------------------------------------------------ > > ==================================================================================== > Configuration/Tool: qemu-i486/ostest > > ------------------------------------------------------------------------------------ > Cleaning... > Configuring... > Copy files > Select CONFIG_HOST_LINUX=y > Refreshing... > Building NuttX... > > ------------------------------------------------------------------------------------ > > ==================================================================================== > Build step 'Execute shell' marked build as failure >