[rtems-4-6-branch] i386/pc386 BSP compilation failure

Joel Sherrill <joel@OARcorp.com> joel.sherrill at OARcorp.com
Mon Jan 17 15:43:32 UTC 2005



Joel Sherrill <joel at OARcorp.com> wrote:
> Karel Gardas wrote:
> 
>> Joel,
>>
>> have you been able to duplicate this build failure yourself? I've been
>> able to duplicate this issue also on today's rtems-4-6-branch sources, so
>> I'm just curious if I can submit proper bugreport now.
> 
> 
> I haven't even gotten a chance to try.  I have been battling gcc 4.x
> with Ralf.
> 
> Go ahead and file the PR.

I have duplicated it but go ahead and file the PR anyway.  It will be 
needed to commit the fix.


> --joel
> 
>> Thanks,
>> Karel
>>
>> On Tue, 11 Jan 2005, Karel Gardas wrote:
>>
>>
>>> On Tue, 11 Jan 2005, Joel Sherrill <joel at OARcorp.com> wrote:
>>>
>>>
>>>> Karel Gardas wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I'm trying to compile yesterday sources from rtems-4-6-branch for 
>>>>> pc386
>>>>> BSP, 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
>>>>>
>>>>>
>>>>> gcc is configured as:
>>>>>
>>>>> thinkpad:/mnt/karel/downloads/RTEMS/build/tools/obj-rtems$ 
>>>>> 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
>>>>>
>>>>>
>>>>> Should I report this error to your bugtracking system?
>>>>
>>>>
>>>> Probably but before you do that.. how exactly did you configure?
>>>
>>>
>>> I've configured it with:
>>>
>>> ../rtems/configure --target=i386-rtems --enable-cxx
>>> --enable-rtemsbsp=pc386 --prefix=/mnt/karel/rtems-x86
>>>
>>> and i386-rtems tool-chain is installed in:
>>> /mnt/karel/rtems-x86-toolchain/
>>>
>>>
>>> Thanks,
>>> Karel
>>> -- 
>>> Karel Gardas                  kgardas at objectsecurity.com
>>> ObjectSecurity Ltd.           http://www.objectsecurity.com
>>>
>>>
>>
>>
>> -- 
>> Karel Gardas                  kgardas at objectsecurity.com
>> ObjectSecurity Ltd.           http://www.objectsecurity.com
>>
> 
> 


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985




More information about the users mailing list