{"action":"created","issue":{"url":"https://api.github.com/repos/NVIDIA/tegra-nouveau-rootfs/issues/15","labels_url":"https://api.github.com/repos/NVIDIA/tegra-nouveau-rootfs/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/NVIDIA/tegra-nouveau-rootfs/issues/15/comments","events_url":"https://api.github.com/repos/NVIDIA/tegra-nouveau-rootfs/issues/15/events","html_url":"https://github.com/NVIDIA/tegra-nouveau-rootfs/issues/15","id":111538640,"number":15,"title":"kmscube doesn't build cleanly with gcc-5","user":{"login":"wom-bat","id":2782095,"avatar_url":"https://avatars.githubusercontent.com/u/2782095?v=3","gravatar_id":"","url":"https://api.github.com/users/wom-bat","html_url":"https://github.com/wom-bat","followers_url":"https://api.github.com/users/wom-bat/followers","following_url":"https://api.github.com/users/wom-bat/following{/other_user}","gists_url":"https://api.github.com/users/wom-bat/gists{/gist_id}","starred_url":"https://api.github.com/users/wom-bat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wom-bat/subscriptions","organizations_url":"https://api.github.com/users/wom-bat/orgs","repos_url":"https://api.github.com/users/wom-bat/repos","events_url":"https://api.github.com/users/wom-bat/events{/privacy}","received_events_url":"https://api.github.com/users/wom-bat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-15T03:29:41Z","updated_at":"2015-10-15T21:59:22Z","closed_at":null,"body":"```\r\nfunction ‘drm_tegra_import’:\r\n/home/peterc/src/work/scratch/jetson/tegra-nouveau-rootfs/kmscube/kmscube.c:98:8: warning: implicit declaration of function ‘ioctl’ [-Wimplicit-function-declaration]\r\n  err = ioctl(drm.fd, DRM_IOCTL_TEGRA_GEM_SET_TILING, &args);\r\n        ^\r\n/home/peterc/src/work/scratch/jetson/tegra-nouveau-rootfs/kmscube/kmscube.c: In function ‘drm_fb_get_from_bo’:\r\n/home/peterc/src/work/scratch/jetson/tegra-nouveau-rootfs/kmscube/kmscube.c:641:4: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration]\r\n    close(fd);\r\n    ^\r\n  CC       kmscube-esTransform.o\r\n  CCLD     kmscube\r\n/home/peterc/src/work/scratch/jetson/tegra-nouveau-rootfs/out/target/ArchLinuxArm/lib/librt.so.1: undefined reference to `__socket@GLIBC_PRIVATE'\r\n/home/peterc/src/work/scratch/jetson/tegra-nouveau-rootfs/out/target/ArchLinuxArm/lib/librt.so.1: undefined reference to `__pthread_barrier_init@GLIBC_PRIVATE'\r\n/home/peterc/src/work/scratch/jetson/tegra-nouveau-rootfs/out/target/ArchLinuxArm/lib/librt.so.1: undefined reference to `__pthread_barrier_wait@GLIBC_PRIVATE'\r\n/home/peterc/src/work/scratch/jetson/tegra-nouveau-rootfs/out/target/ArchLinuxArm/lib/librt.so.1: undefined reference to `__libc_pread@GLIBC_PRIVATE'\r\n/home/peterc/src/work/scratch/jetson/tegra-nouveau-rootfs/out/target/ArchLinuxArm/lib/librt.so.1: undefined reference to `__shm_directory@GLIBC_PRIVATE'\r\n/home/peterc/src/work/scratch/jetson/tegra-nouveau-rootfs/out/target/ArchLinuxArm/lib/librt.so.1: undefined reference to `__recv@GLIBC_PRIVATE'\r\ncollect2: error: ld returned 1 exit status\r\nMakefile:490: recipe for target 'kmscube' failed\r\nmake[1]: *** [kmscube] Error 1\r\nmake[1]: Leaving directory '/home/peterc/src/work/scratch/jetson/tegra-nouveau-rootfs/out/build/ArchLinuxArm/kmscube'\r\nMakefile:387: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n```"},"comment":{"url":"https://api.github.com/repos/NVIDIA/tegra-nouveau-rootfs/issues/comments/148534772","html_url":"https://github.com/NVIDIA/tegra-nouveau-rootfs/issues/15#issuecomment-148534772","issue_url":"https://api.github.com/repos/NVIDIA/tegra-nouveau-rootfs/issues/15","id":148534772,"user":{"login":"wom-bat","id":2782095,"avatar_url":"https://avatars.githubusercontent.com/u/2782095?v=3","gravatar_id":"","url":"https://api.github.com/users/wom-bat","html_url":"https://github.com/wom-bat","followers_url":"https://api.github.com/users/wom-bat/followers","following_url":"https://api.github.com/users/wom-bat/following{/other_user}","gists_url":"https://api.github.com/users/wom-bat/gists{/gist_id}","starred_url":"https://api.github.com/users/wom-bat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wom-bat/subscriptions","organizations_url":"https://api.github.com/users/wom-bat/orgs","repos_url":"https://api.github.com/users/wom-bat/repos","events_url":"https://api.github.com/users/wom-bat/events{/privacy}","received_events_url":"https://api.github.com/users/wom-bat/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T21:59:22Z","updated_at":"2015-10-15T21:59:22Z","body":">>>>> \"Alexandre\" == Alexandre Courbot <notifications@github.com> writes:\n\nAlexandre> The version is gcc used should be the one downloaded by\nAlexandre> download-gcc - and it should work fine. What makes you\nAlexandre> think gcc 5 is being used here?\n\nSimple -- I didn't use the download-gcc script, I used the\narm-linux-gnueabihf-gcc-5 I already had on the system.\n\nSo you can regard this as a heads-up for when you switch to a later\ncompiler.\n\n\n-- \nDr Peter Chubb\t\t\t\t         http://www.data61.csiro.au\nhttp://www.ssrg.nicta.com.au   Software Systems Research Group/NICTA/Data61\n"}}