virtex4 fails to link norun tests

Joel Sherrill joel at rtems.org
Fri Mar 13 13:40:32 UTC 2020


Hi

Not sure how to fix this or how long it has been broken:

powerpc-rtems5-gcc  -mcpu=405 -O2 -g -fno-keep-inline-functions
-ffunction-sections -fdata-sections -Wall -Wmissing-prototypes
-Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs
-B./../../lib/libbsp/powerpc/virtex4
-B/home/joel/rtems-work/rtems-testing/rtems/rtems/bsps/powerpc/virtex4/start
-specs bsp_specs -qrtems -L./../../cpukit
-L/home/joel/rtems-work/rtems-testing/rtems/rtems/bsps/powerpc/shared/start
-Wl,--wrap=printf -Wl,--wrap=puts -Wl,--wrap=putchar -Wl,--gc-sections -o
calloc.norun.exe POSIX/calloc.o ./../../cpukit/librtemsdefaultconfig.a
./../../lib/libbsp/powerpc/virtex4/librtemsbsp.a
./../../cpukit/librtemscpu.a ./../../cpukit/librtemstest.a
/data/home/joel/rtems-work/tools/5/bin/../lib/gcc/powerpc-rtems5/7.5.0/../../../../powerpc-rtems5/bin/ld:
./../../lib/libbsp/powerpc/virtex4/librtemsbsp.a(irq_init.o): in function
`BSP_install_rtems_irq_handler':
/home/joel/rtems-work/rtems-testing/rtems/build-powerpc-virtex4-rtems/powerpc-rtems5/c/virtex4/lib/libbsp/powerpc/virtex4/../../../../../../../../rtems/c/src/lib/libbsp/powerpc/virtex4/../../../../../../bsps/powerpc/virtex4/irq/irq_init.c:120:
multiple definition of `BSP_install_rtems_irq_handler';
./../../lib/libbsp/powerpc/virtex4/librtemsbsp.a(irq-legacy.o):/home/joel/rtems-work/rtems-testing/rtems/build-powerpc-virtex4-rtems/powerpc-rtems5/c/virtex4/lib/libbsp/powerpc/virtex4/../../../../../../../../rtems/c/src/lib/libbsp/powerpc/virtex4/../../../../../../bsps/shared/irq/irq-legacy.c:45:
first defined here
/data/home/joel/rtems-work/tools/5/bin/../lib/gcc/powerpc-rtems5/7.5.0/../../../../powerpc-rtems5/bin/ld:
./../../lib/libbsp/powerpc/virtex4/librtemsbsp.a(irq_init.o): in function
`BSP_get_current_rtems_irq_handler':
/home/joel/rtems-work/rtems-testing/rtems/build-powerpc-virtex4-rtems/powerpc-rtems5/c/virtex4/lib/libbsp/powerpc/virtex4/../../../../../../../../rtems/c/src/lib/libbsp/powerpc/virtex4/../../../../../../bsps/powerpc/virtex4/irq/irq_init.c:171:
multiple definition of `BSP_get_current_rtems_irq_handler';
./../../lib/libbsp/powerpc/virtex4/librtemsbsp.a(irq-legacy.o):/home/joel/rtems-work/rtems-testing/rtems/build-powerpc-virtex4-rtems/powerpc-rtems5/c/virtex4/lib/libbsp/powerpc/virtex4/../../../../../../../../rtems/c/src/lib/libbsp/powerpc/virtex4/../../../../../../bsps/shared/irq/irq-legacy.c:36:
first defined here
/data/home/joel/rtems-work/tools/5/bin/../lib/gcc/powerpc-rtems5/7.5.0/../../../../powerpc-rtems5/bin/ld:
./../../lib/libbsp/powerpc/virtex4/librtemsbsp.a(irq_init.o): in function
`BSP_remove_rtems_irq_handler':
/home/joel/rtems-work/rtems-testing/rtems/build-powerpc-virtex4-rtems/powerpc-rtems5/c/virtex4/lib/libbsp/powerpc/virtex4/../../../../../../../../rtems/c/src/lib/libbsp/powerpc/virtex4/../../../../../../bsps/powerpc/virtex4/irq/irq_init.c:191:
multiple definition of `BSP_remove_rtems_irq_handler';
./../../lib/libbsp/powerpc/virtex4/librtemsbsp.a(irq-legacy.o):/home/joel/rtems-work/rtems-testing/rtems/build-powerpc-virtex4-rtems/powerpc-rtems5/c/virtex4/lib/libbsp/powerpc/virtex4/../../../../../../../../rtems/c/src/lib/libbsp/powerpc/virtex4/../../../../../../bsps/shared/irq/irq-legacy.c:95:
first defined here
/data/home/joel/rtems-work/tools/5/bin/../lib/gcc/powerpc-rtems5/7.5.0/../../../../powerpc-rtems5/bin/ld:
./../../lib/libbsp/powerpc/virtex4/librtemsbsp.a(irq_init.o): in function
`BSP_rtems_irq_mngt_get':
/home/joel/rtems-work/rtems-testing/rtems/build-powerpc-virtex4-rtems/powerpc-rtems5/c/virtex4/lib/libbsp/powerpc/virtex4/../../../../../../../../rtems/c/src/lib/libbsp/powerpc/virtex4/../../../../../../bsps/powerpc/virtex4/irq/irq_init.c:230:
multiple definition of `BSP_rtems_irq_mngt_get';
./../../lib/libbsp/powerpc/virtex4/librtemsbsp.a(irq-legacy.o):/home/joel/rtems-work/rtems-testing/rtems/build-powerpc-virtex4-rtems/powerpc-rtems5/c/virtex4/lib/libbsp/powerpc/virtex4/../../../../../../../../rtems/c/src/lib/libbsp/powerpc/virtex4/../../../../../../bsps/shared/irq/irq-legacy.c:123:
first defined here
/data/home/joel/rtems-work/tools/5/bin/../lib/gcc/powerpc-rtems5/7.5.0/../../../../powerpc-rtems5/bin/ld:
./../../lib/libbsp/powerpc/virtex4/librtemsbsp.a(irq_init.o): in function
`BSP_rtems_irq_mngt_set':
/home/joel/rtems-work/rtems-testing/rtems/build-powerpc-virtex4-rtems/powerpc-rtems5/c/virtex4/lib/libbsp/powerpc/virtex4/../../../../../../../../rtems/c/src/lib/libbsp/powerpc/virtex4/../../../../../../bsps/powerpc/virtex4/irq/irq_init.c:239:
multiple definition of `BSP_rtems_irq_mngt_set';
./../../lib/libbsp/powerpc/virtex4/librtemsbsp.a(irq-legacy.o):/home/joel/rtems-work/rtems-testing/rtems/build-powerpc-virtex4-rtems/powerpc-rtems5/c/virtex4/lib/libbsp/powerpc/virtex4/../../../../../../../../rtems/c/src/lib/libbsp/powerpc/virtex4/../../../../../../bsps/shared/irq/irq-legacy.c:116:
first defined here
collect2: error: ld returned 1 exit status
gmake[5]: *** [calloc.norun.exe] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200313/a6161a6c/attachment.html>


More information about the devel mailing list