#743 closed defect (fixed)

pc386 BSP build fails on rtems-4-6-branch

Reported by: kgardas Owned by: Joel Sherrill
Priority: highest Milestone: 2
Component: bsps Version: unknown
Severity: critical Keywords:
Cc: bugs@… Blocked By:
Blocking:

Description

I've configured rtems with:
../rtems-4-6-branch/configure --prefix=/mnt/karel/rtems-x86 --target=i386-rtems --enable-rtemsbsp=pc386 --enable-cxx

then try building with:
make

but build fails with:
i386-rtems-gcc --pipe -B../../../../../../../lib/
-B../../../../../../../pc386/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H
-isystem ../../../../../../../pc386/lib/include -O4 -g -Wall -ansi
-fasm -o o-optimize/tod.o -c
../../../../../../../../../rtems/c/src/lib/libbsp/i386/pc386/clock/../../../shared/tod.c
../../../../../../../../../rtems/c/src/lib/libbsp/shared/tod.c:13:17:
tod.h: No such file or directory
../../../../../../../../../rtems/c/src/lib/libbsp/shared/tod.c: In
function `rtc_initialize':
../../../../../../../../../rtems/c/src/lib/libbsp/shared/tod.c:102:
warning: implicit declaration of function `setRealTimeToRTEMS'
../../../../../../../../../rtems/c/src/lib/libbsp/shared/tod.c: At top
level:
../../../../../../../../../rtems/c/src/lib/libbsp/shared/tod.c:119:
warning: type mismatch with previous implicit declaration
../../../../../../../../../rtems/c/src/lib/libbsp/shared/tod.c:102:
warning: previous implicit declaration of `setRealTimeToRTEMS'
../../../../../../../../../rtems/c/src/lib/libbsp/shared/tod.c:119:
warning: `setRealTimeToRTEMS' was previously implicitly declared to return
`int'
make[6]: * [o-optimize/tod.o] Error 1
make[6]: Leaving directory
`/mnt/karel/downloads/RTEMS/build/tools/obj-rtems/i386-rtems/c/pc386/lib/libbsp/i386/pc386/clock'
make[5]:
* [all-recursive] Error 1
make[5]: Leaving directory
`/mnt/karel/downloads/RTEMS/build/tools/obj-rtems/i386-rtems/c/pc386/lib/libbsp/i386/pc386'
make[4]: * [all-recursive] Error 1
make[4]: Leaving directory
`/mnt/karel/downloads/RTEMS/build/tools/obj-rtems/i386-rtems/c/pc386/lib/libbsp/i386'
make[3]:
* [all-recursive] Error 1
make[3]: Leaving directory
`/mnt/karel/downloads/RTEMS/build/tools/obj-rtems/i386-rtems/c/pc386/lib/libbsp'
make[2]: * [all-recursive] Error 1
make[2]: Leaving directory
`/mnt/karel/downloads/RTEMS/build/tools/obj-rtems/i386-rtems/c/pc386'
make[1]:
* [all-recursive] Error 1
make[1]: Leaving directory
`/mnt/karel/downloads/RTEMS/build/tools/obj-rtems/i386-rtems/c'
make: * [all-recursive] Error 1

Release:
rtems-4-6-branch

Environment:
host: i686-pc-linux-gnu, RTEMS tool-chain as recommended by 4.6.2 release:

$ i386-rtems-gcc
-v
Reading specs from
/mnt/karel/rtems-x86-toolchain/lib/gcc-lib/i386-rtems/3.2.3/specs
Configured with: ../gcc-3.2.3/configure
--prefix=/mnt/karel/rtems-x86-toolchain --target=i386-rtems --with-gnu-as
--with-gnu-ld --with-newlib --verbose --enable-threads
--enable-languages=c,c++
Thread model: rtems
gcc version 3.2.3

Attachments (1)

pr743.diff (1.1 KB) - added by kgardas on Dec 3, 2006 at 1:31:12 PM.
pr743.diff

Download all attachments as: .zip

Change History (2)

comment:1 Changed on Jan 20, 2005 at 3:56:21 PM by Joel Sherrill

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: Attached patch committed.

Changed on Dec 3, 2006 at 1:31:12 PM by kgardas

Attachment: pr743.diff added

pr743.diff

Note: See TracTickets for help on using tickets.