#3011 closed defect (worksforme)
Error compiling xilinx_zynq_zedboard.
Reported by: | Arturo Pérez | Owned by: | Gedare Bloom |
---|---|---|---|
Priority: | normal | Milestone: | 5.1 |
Component: | arch/arm | Version: | 5 |
Severity: | normal | Keywords: | zedboard RSB buid |
Cc: | Blocked By: | ||
Blocking: |
Description
I encountered an error compiling the xilinx_zynq_zedboard BSP. I am using a built of the RSB that I compiled in December. With that built of the RSB I could built this BSP several times until I did a git pull of the RTEMS repo two weeks ago. Today I updated my repos of the RTEMS and RSB sources, I rebuilt the RSB and I tried to built again the xilinx_zynq_zedboard BSP, encountering the same error:
gmake[6]: * No rule to make target posix/include/sys/mman.h', needed by
../cpukit/../../../xilinx_zynq_zedboard/lib/include/sys/mman.h'. Stop.
Change History (11)
comment:1 Changed on 05/09/17 at 14:24:45 by Gedare Bloom
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed on 05/10/17 at 08:50:57 by Arturo Pérez
As I wrote, I updated the RSB sources by doing a git-pull. Then, I built it again, but using this new version I found the same error. I did it yesterday and today.
comment:3 Changed on 05/10/17 at 12:46:23 by Gedare Bloom
Resolution: | invalid |
---|---|
Status: | closed → reopened |
The sys/mman.h
was moved from RTEMS into newlib awhile ago, but maybe there is a problem with the integration. I recently added the mmap/munmap support. I'll try to look at this, can anyone else replicate it?
comment:4 Changed on 05/10/17 at 12:46:43 by Gedare Bloom
Owner: | changed from joel.sherrill@… to Gedare Bloom |
---|---|
Status: | reopened → assigned |
comment:5 Changed on 05/10/17 at 13:07:47 by Joel Sherrill
I built all BSPs overnight and didn't have any failures due to this. I always bootstrap -c and rebootstrap before a build sweep. It is quite possible that the Makefile.in didn't get regenerated in the reporter's source tree.
comment:6 Changed on 05/10/17 at 16:40:46 by Gedare Bloom
Yes, that makes sense. Arturo, please do bootstrap -c and then bootstrap, configure and make.
comment:7 Changed on 05/11/17 at 07:31:02 by Sebastian Huber
Milestone: | 4.12 → 4.12.0 |
---|
comment:8 Changed on 05/11/17 at 08:25:39 by Arturo Pérez
Yes, that was the solution. I was not doing bootstrap -c.
From now I will do the built always following the steps as Joel said.
Thanks, so much. Sorry, if I made you losing a bit of time.
comment:9 Changed on 05/11/17 at 11:08:58 by Sebastian Huber
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
comment:10 Changed on 10/10/17 at 06:54:12 by Sebastian Huber
Component: | bsps → arch/arm |
---|
comment:11 Changed on 11/09/17 at 06:27:14 by Sebastian Huber
Milestone: | 4.12.0 → 5.1 |
---|
Milestone renamed
You need to re-build your toolchain with a new git-pull of the RSB.