Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
slapos slapos
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 122
    • Merge requests 122
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !915

Merged
Created Feb 23, 2021 by Léo-Paul Géneau@lpgeneau👾Maintainer

component/defaults.cfg: workaround to compile gcc on Olimex board

  • Overview 28
  • Commits 1
  • Changes 1

On Olimex-Lime2 board gcc is automatically compiled using soft-float convention. For that reason /usr/include/arm-linux-gnueabihf/ is not part of gcc include path and causes the following failure :

INFO     /srv/slapgrid/slappart9/srv/runner/shared/gcc-8.4/d1d1b17343c3970af0b76d5044f88d0b__compile__/gcc-8.4.0/host-armv7l-unknown-linux-gnueabihf/gcc/xgcc -B/srv/slapgrid/slappart9/srv/runner/shared/gcc-8.4/d1d1b17343c3970af0b76d5044f88d0b__compile__/gcc-8.4.0/host-armv7l-unknown-linux-gnueabihf/gcc/ -B/srv/slapgrid/slappart9/srv//runner//shared/gcc-8.4/d1d1b17343c3970af0b76d5044f88d0b/armv7l-unknown-linux-gnueabihf/bin/ -B/srv/slapgrid/slappart9/srv//runner//shared/gcc-8.4/d1d1b17343c3970af0b76d5044f88d0b/armv7l-unknown-linux-gnueabihf/lib/ -isystem /srv/slapgrid/slappart9/srv//runner//shared/gcc-8.4/d1d1b17343c3970af0b76d5044f88d0b/armv7l-unknown-linux-gnueabihf/include -isystem /srv/slapgrid/slappart9/srv//runner//shared/gcc-8.4/d1d1b17343c3970af0b76d5044f88d0b/armv7l-unknown-linux-gnueabihf/sys-include    -g -O2 -O2  -g -O2 -DIN_GCC    -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fPIC -fno-inline -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -fPIC -fno-inline -I. -I. -I../../host-armv7l-unknown-linux-gnueabihf/gcc -I../.././libgcc -I../.././libgcc/. -I../.././libgcc/../gcc -I../.././libgcc/../include  -DHAVE_CC_TLS  -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c ../.././libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
INFO     In file included from ../.././libgcc/../gcc/tsystem.h:87,
INFO                      from ../.././libgcc/libgcc2.c:27:
INFO     /usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: No such file or directory
INFO      #include <bits/libc-header-start.h>
INFO               ^~~~~~~~~~~~~~~~~~~~~~~~~~
INFO     compilation terminated.
INFO     make[2]: *** [Makefile:494: _muldi3.o] Error 1
INFO     make[2]: Leaving directory '/srv/slapgrid/slappart9/srv/runner/shared/gcc-8.4/d1d1b17343c3970af0b76d5044f88d0b__compile__/gcc-8.4.0/armv7l-unknown-linux-gnueabihf/libgcc'
INFO     make[1]: *** [Makefile:13083: all-target-libgcc] Error 2
INFO     make[1]: Leaving directory '/srv/slapgrid/slappart9/srv/runner/shared/gcc-8.4/d1d1b17343c3970af0b76d5044f88d0b__compile__/gcc-8.4.0'
INFO     make: *** [Makefile:906: all] Error 2
INFO     gcc-8.4: Command 'set -e;make ' returned non-zero exit status 2
INFO     gcc-8.4: Compilation error. The package is left as is at /srv/slapgrid/slappart9/srv/runner/shared/gcc-8.4/d1d1b17343c3970af0b76d5044f88d0b__compile__/gcc-8.4.0 where you can inspect what went wrong.
Edited Mar 26, 2021 by Léo-Paul Géneau
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: fix/compile_gcc_on_armv7hl
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7