{"action":"opened","issue":{"url":"https://api.github.com/repos/GaloisInc/FreeRTOS-Xen/issues/4","repository_url":"https://api.github.com/repos/GaloisInc/FreeRTOS-Xen","labels_url":"https://api.github.com/repos/GaloisInc/FreeRTOS-Xen/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/GaloisInc/FreeRTOS-Xen/issues/4/comments","events_url":"https://api.github.com/repos/GaloisInc/FreeRTOS-Xen/issues/4/events","html_url":"https://github.com/GaloisInc/FreeRTOS-Xen/issues/4","id":194272518,"number":4,"title":"FreeRTOS with xen 4.7 (build fail)","user":{"login":"DAYESS","id":24451169,"avatar_url":"https://avatars.githubusercontent.com/u/24451169?v=3","gravatar_id":"","url":"https://api.github.com/users/DAYESS","html_url":"https://github.com/DAYESS","followers_url":"https://api.github.com/users/DAYESS/followers","following_url":"https://api.github.com/users/DAYESS/following{/other_user}","gists_url":"https://api.github.com/users/DAYESS/gists{/gist_id}","starred_url":"https://api.github.com/users/DAYESS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DAYESS/subscriptions","organizations_url":"https://api.github.com/users/DAYESS/orgs","repos_url":"https://api.github.com/users/DAYESS/repos","events_url":"https://api.github.com/users/DAYESS/events{/privacy}","received_events_url":"https://api.github.com/users/DAYESS/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-08T08:15:05Z","updated_at":"2016-12-08T08:15:05Z","closed_at":null,"body":"Hello,\r\n\r\nI try building FreeRTOS using Xen4.7 headers. I get first some errors as warnings as treated as error so I was obliget to remove the \"wall\" and \"werror\" flags from the \"dtc\" makefile then I get the following error:\r\n\r\n/usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/lib/libg.a(lib_a-exit.o): In function `exit':\r\n/build/buildd/newlib-2.1.0/build/arm-none-eabi/newlib/libc/stdlib/../../../../../newlib/libc/stdlib/exit.c:70: undefined reference to `_exit'\r\nconvert-dtsv0-lexer.lex.o: In function `yylex':\r\n/home/desk-post/Yes/FreeRTOS-Xen/dtc/convert-dtsv0-lexer.l:120: undefined reference to `fnmatch'\r\n/usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/lib/libg.a(lib_a-fstatr.o): In function `_fstat_r':\r\n/build/buildd/newlib-2.1.0/build/arm-none-eabi/newlib/libc/reent/../../../../../newlib/libc/reent/fstatr.c:62: undefined reference to `_fstat'\r\n/usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/lib/libg.a(lib_a-openr.o): In function `_open_r':\r\n/build/buildd/newlib-2.1.0/build/arm-none-eabi/newlib/libc/reent/../../../../../newlib/libc/reent/openr.c:59: undefined reference to `_open'\r\n/usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/lib/libg.a(lib_a-sbrkr.o): In function `_sbrk_r':\r\n/build/buildd/newlib-2.1.0/build/arm-none-eabi/newlib/libc/reent/../../../../../newlib/libc/reent/sbrkr.c:58: undefined reference to `_sbrk'\r\n/usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/lib/libg.a(lib_a-writer.o): In function `_write_r':\r\n/build/buildd/newlib-2.1.0/build/arm-none-eabi/newlib/libc/reent/../../../../../newlib/libc/reent/writer.c:58: undefined reference to `_write'\r\n/usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/lib/libg.a(lib_a-abort.o): In function `abort':\r\n/build/buildd/newlib-2.1.0/build/arm-none-eabi/newlib/libc/stdlib/../../../../../newlib/libc/stdlib/abort.c:63: undefined reference to `_exit'\r\n/usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/lib/libg.a(lib_a-closer.o): In function `_close_r':\r\n/build/buildd/newlib-2.1.0/build/arm-none-eabi/newlib/libc/reent/../../../../../newlib/libc/reent/closer.c:53: undefined reference to `_close'\r\n/usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/lib/libg.a(lib_a-isattyr.o): In function `_isatty_r':\r\n/build/buildd/newlib-2.1.0/build/arm-none-eabi/newlib/libc/reent/../../../../../newlib/libc/reent/isattyr.c:58: undefined reference to `_isatty'\r\n/usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/lib/libg.a(lib_a-lseekr.o): In function `_lseek_r':\r\n/build/buildd/newlib-2.1.0/build/arm-none-eabi/newlib/libc/reent/../../../../../newlib/libc/reent/lseekr.c:58: undefined reference to `_lseek'\r\n/usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/lib/libg.a(lib_a-readr.o): In function `_read_r':\r\n/build/buildd/newlib-2.1.0/build/arm-none-eabi/newlib/libc/reent/../../../../../newlib/libc/reent/readr.c:58: undefined reference to `_read'\r\n/usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/lib/libg.a(lib_a-signalr.o): In function `_kill_r':\r\n/build/buildd/newlib-2.1.0/build/arm-none-eabi/newlib/libc/reent/../../../../../newlib/libc/reent/signalr.c:61: undefined reference to `_kill'\r\n/usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/lib/libg.a(lib_a-signalr.o): In function `_getpid_r':\r\n/build/buildd/newlib-2.1.0/build/arm-none-eabi/newlib/libc/reent/../../../../../newlib/libc/reent/signalr.c:96: undefined reference to `_getpid'\r\ncollect2: error: ld returned 1 exit status\r\n\r\nSo I added the following flags to the \"dtc\" makefile:\r\n--specs=nosys.specs\r\n\r\nnow, I have the following error:\r\nconvert-dtsv0-lexer.lex.o: In function `yylex':\r\n/home/desk-post/Yes/FreeRTOS-Xen/dtc/convert-dtsv0-lexer.l:120: undefined reference to `fnmatch'\r\n\r\nAny suggestions ? Any idea ?\r\n\r\nBest Regards,"}}
{"actor":{"display_login":"DAYESS"}}