[Bug 2037] New: sparc/erc32(sis) build fails when BSP_RESET_BOARD_AT_EXIT is defined (bsp_reset is missing).

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Wed Mar 7 22:24:27 UTC 2012


https://www.rtems.org/bugzilla/show_bug.cgi?id=2037

             Bug #: 2037
           Summary: sparc/erc32(sis) build fails when
                    BSP_RESET_BOARD_AT_EXIT is defined (bsp_reset is
                    missing).
    Classification: Unclassified
           Product: RTEMS
           Version: 4.10
          Platform: sparc
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: bsps
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: silvawp at gmail.com


Configuration used to spot the defect (rtems version = 4.10.2 from tarball):
../configure \
  --prefix=${BI} \
  --target=sparc-rtems4.10 \
  --enable-rtemsbsp="sis" \
  --enable-maintainer-mode \
  --enable-tests="samples" \
  --disable-networking \
  --disable-posix \
  --disable-itron \
  --disable-cxx \
  SIMSPARC_FAST_IDLE=1 \
  ENABLE_SIS_QUIRKS=1 \
  BSP_RESET_BOARD_AT_EXIT=1

Except of the defect:
gmake[5]: Entering directory
`/home/developer/b-sis/sparc-rtems4.10/c/sis/testsuites/samples/hello'
sparc-rtems4.10-gcc -B../../../../../sis/lib/ -specs bsp_specs -qrtems
-DPACKAGE_NAME=\"rtems-c-src-tests-samples\"
-DPACKAGE_TARNAME=\"rtems-c-src-tests-samples\" -DPACKAGE_VERSION=\"4.10.2\"
-DPACKAGE_STRING=\"rtems-c-src-tests-samples\ 4.10.2\"
-DPACKAGE_BUGREPORT=\"http://www.rtems.org/bugzilla\" -DPACKAGE_URL=\"\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -I.
-I/home/developer/rtems-work/rtems-4.10.2/c/src/../../testsuites/samples/hello 
   -mcpu=cypress -O2 -g -Wall -Wimplicit-function-declaration
-Wstrict-prototypes -Wnested-externs -MT init.o -MD -MP -MF .deps/init.Tpo -c
-o init.o
/home/developer/rtems-work/rtems-4.10.2/c/src/../../testsuites/samples/hello/init.c
mv -f .deps/init.Tpo .deps/init.Po
sparc-rtems4.10-gcc -B../../../../../sis/lib/ -specs bsp_specs -qrtems
-mcpu=cypress -O2 -g -Wall -Wimplicit-function-declaration -Wstrict-prototypes
-Wnested-externs    -mcpu=cypress   -o hello.exe init.o
../../../../../sis/lib/no-barrier.rel ../../../../../sis/lib/no-dpmem.rel
../../../../../sis/lib/no-event.rel ../../../../../sis/lib/no-msg.rel
../../../../../sis/lib/no-mp.rel ../../../../../sis/lib/no-part.rel
../../../../../sis/lib/no-region.rel ../../../../../sis/lib/no-signal.rel
../../../../../sis/lib/no-timer.rel ../../../../../sis/lib/no-rtmon.rel
../../../../../sis/lib/no-ext.rel 
../../../../../sis/lib/librtemsbsp.a(bspclean.o): In function `bsp_cleanup':
/home/developer/rtems-work/rtems-4.10.2/c/src/lib/libbsp/sparc/erc32/../../shared/bspclean.c:39:
undefined reference to `bsp_reset'
collect2: ld returned 1 exit status
gmake[5]: *** [hello.exe] Error 1
gmake[5]: Leaving directory
`/home/developer/b-sis/sparc-rtems4.10/c/sis/testsuites/samples/hello'
gmake[4]: *** [all-recursive] Error 1
(...)

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list