#2037 closed defect (invalid)

sparc/erc32(sis) build fails when BSP_RESET_BOARD_AT_EXIT is defined (bsp_reset is missing).

Reported by: Wendell P Silva Owned by: Joel Sherrill
Priority: normal Milestone: 4.11
Component: bsps Version: 4.10
Severity: normal Keywords:
Cc: dunsmoreb@… Blocked By:
Blocking:

Description

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
(...)

Change History (2)

comment:1 Changed on Dec 15, 2013 at 6:07:46 PM by Bryan Dunsmore

Resolution: invalid
Status: newclosed, dunsmoreb@gmail.com

comment:2 Changed on Dec 15, 2013 at 6:34:41 PM by Bryan Dunsmore

Negative. The only reference to a label bsp_reset' found using cscope - find -name start.S -iwholename *shared*' was in `./c/src/lib/libbsp/sparc/shared/start/start.S' which was committed on 2013-12-03 by commit 3f8abd28.

Note: See TracTickets for help on using tickets.