This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: i386 problem
- From: Bart Veer <bartv at ecoscentric dot com>
- To: nickg at ecoscentric dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 3 May 2005 21:30:29 +0100 (BST)
- Subject: Re: [ECOS] i386 problem
- References: <200504262003.j3QK3dex009649@router.bonfrer.thuis><004801c54abe$f9cb0240$0200a8c0@pcgoncalo><20050427053432.GY17364@lunn.ch><001d01c54d35$4b9e05e0$0200a8c0@pcgoncalo> <m31x8opqem.fsf@xl5.calivar.com>
>>>>> "Nick" == Nick Garnett <nickg@ecoscentric.com> writes:
>> I tried to start with a plain net template, changed the HAL_STARTUP to
>> FLOPPY and the error on the "make tests" is the same:
>>
>> >> /home/gmma/config_install/lib/vectors.o:/tmp/ccfRQjJM.s: undefined
>> >> reference to 'hal_saved_interrupt_state'
Nick> The main problem seems to be with the profiling support that
Nick> Bart added in March. I'll leave him to decide what to do
Nick> about it in the repository, but in the interim you could try
Nick> moving the
Nick> #endif // CYGPKG_PROFILE_GPROF
Nick> in hal_misc.c to just after the
Nick> #endif // SMP
Nick> I've not tried this, so I have no idea whether it will work.
I don't think that is the problem. The #ifdef GPROF conditional
definition of hal_saved_interrupt_state is completely new, previously
the i386 arch hal never provided that variable. Instead it will
usually come from the common HAL's hal_if.c
I just tried a clean build from anoncvs for pc with the net template
and startup changed to floppy. Many of the tests build fine, there is
no problem with hal_saved_interrupt_state. As expected there are some
build failures relating to overflowing the ram region. I suspect the
original poster tried his experiment in an existing build tree and
things got very confused.
Bart
--
Bart Veer eCos Configuration Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss