Skip to content

Instantly share code, notes, and snippets.

@thelunatic
Created June 11, 2018 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thelunatic/12f3091505afe7a79dcd74c106e1a10f to your computer and use it in GitHub Desktop.
Save thelunatic/12f3091505afe7a79dcd74c106e1a10f to your computer and use it in GitHub Desktop.
error while building leon 3 with -ftest-coverage
sparc-rtems5-gcc --pipe -DHAVE_CONFIG_H -I. -I/home/lunatic/development/rtems/kernel/leon3/sparc-rtems5/c/leon3/include -I/home/lunatic/development/rtems/kernel/rtems/cpukit/include -I/home/lunatic/development/rtems/kernel/rtems/cpukit/score/cpu/sparc/include -I/home/lunatic/development/rtems/kernel/leon3/sparc-rtems5/c/leon3/lib/libbsp/sparc/leon3/include -I/home/lunatic/development/rtems/kernel/rtems/bsps/include -I/home/lunatic/development/rtems/kernel/rtems/bsps/sparc/include -I/home/lunatic/development/rtems/kernel/rtems/bsps/sparc/leon3/include -mcpu=leon3 -Os -g -ftest-coverage -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT cpucounter.o -MD -MP -MF .deps/cpucounter.Tpo -c -o cpucounter.o `test -f '../../../../../../bsps/sparc/leon3/start/cpucounter.c' || echo '../../../../../../../../rtems/c/src/lib/libbsp/sparc/leon3/'`../../../../../../bsps/sparc/leon3/start/cpucounter.c
{standard input}: Assembler messages:
{standard input}:6510: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6511: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6516: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6517: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6522: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6523: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6528: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6529: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6537: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6538: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6541: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6542: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6548: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6549: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6556: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6557: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6565: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6566: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6571: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6572: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6578: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6579: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6584: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6585: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6604: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6605: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6606: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6607: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6610: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6611: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6612: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
{standard input}:6613: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}
gmake[6]: *** [Makefile:1272: cpucounter.o] Error 1
gmake[6]: Leaving directory '/home/lunatic/development/rtems/kernel/leon3/sparc-rtems5/c/leon3/lib/libbsp/sparc/leon3'
gmake[5]: *** [Makefile:813: leon3] Error 2
gmake[5]: Leaving directory '/home/lunatic/development/rtems/kernel/leon3/sparc-rtems5/c/leon3/lib/libbsp/sparc'
gmake[4]: *** [Makefile:656: sparc] Error 2
gmake[4]: Leaving directory '/home/lunatic/development/rtems/kernel/leon3/sparc-rtems5/c/leon3/lib/libbsp'
gmake[3]: *** [Makefile:1140: lib/libbsp] Error 2
gmake[3]: Leaving directory '/home/lunatic/development/rtems/kernel/leon3/sparc-rtems5/c/leon3'
gmake[2]: *** [Makefile:638: all-recursive] Error 1
gmake[2]: Leaving directory '/home/lunatic/development/rtems/kernel/leon3/sparc-rtems5/c/leon3'
gmake[1]: *** [Makefile:289: all-recursive] Error 1
gmake[1]: Leaving directory '/home/lunatic/development/rtems/kernel/leon3/sparc-rtems5/c'
gmake: *** [Makefile:414: all-recursive] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment