This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: Printf function error


This is because of the bss* problem I mentioned yesterday. Did you fix the sh.ld file ? You should also create a new project after doing this to make sure you have up to date linker scripts etc for that project.

Kelvin.


Aniket S Joshi wrote:
Hi Kelvin,


Thanks for the quick reply. Just now i corrected the path & now it is taking from my new compiler I tried to run my project (configuration file) in ecos configuration tool , it is building (Library) successfully but it is giving error while test build. pls find attached log file

(This project was building & running properly with previous compiler.... only problem was printf)

Aniket

sh-elf-gcc -ml -m3 -ggdb -nostdlib -Wl,-static -Wl,--fatal-warnings -L/ecos-c/ecos-work/sh7729_install/lib -Ttarget.ld -o /ecos-c/ecos-work/sh7729_install/tests/infra/v2_0/tests/cxxsupp tests/cxxsupp.o
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss._cyg_io_init'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss.tty_private_info_diag'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss._no_data'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss.cyg_libc_startup_obj'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss.__mangler_line'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss.hal_saved_interrupt_state'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss._cyg_hal_compiler_dummy'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss.cyg_dummy_diag_init_obj'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss._ZZ9trim_funcPKcE4fbuf'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss._ZZ13cyg_test_exitE1i'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss.idle_thread_stack'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss.idle_thread_loops'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss.idle_thread'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss._ZN10Cyg_Thread17exception_controlE'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss._ZN13Cyg_Interrupt15disable_counterE'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss._ZN13Cyg_Interrupt26interrupt_disable_spinlockE'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss._ZN13Cyg_Interrupt23interrupt_disable_stateE'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss._ZN13Cyg_Interrupt8dsr_listE'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss._ZN18Cyg_Scheduler_Base14current_threadE'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss._ZN18Cyg_Scheduler_Base15need_rescheduleE'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss._ZN13Cyg_Scheduler9schedulerE'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss._ZN18Cyg_Scheduler_Base15thread_switchesE'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss._ZZ14dbg_threadinfoE8statebuf'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss.cyg_libc_main_stack'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss.cyg_libc_main_thread'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss._ZN17Cyg_RealTimeClock3rtcE'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss._ZN20Cyg_libc_stdio_files10files_lockE'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss.cygmem_pool_heap1'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss.cyg_libc_atexit_handlers'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss.cyg_libc_atexit_handlers_count'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss.cyg_libc_signal_handlers'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss.cyg_libc_signal_handlers_mutex'
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.3.2/../../../../sh-elf/bin/ld: warning: no memory region specified for section `.bss.cyg_libc_signals_dummy_init_obj'
collect2: ld returned 1 exit status
make[1]: Leaving directory `/ecos-c/ecos-work/sh7729_build/infra/v2_0'
make[1]: *** [/ecos-c/ecos-work/sh7729_install/tests/infra/v2_0/tests/cxxsupp] Error 1
make: Leaving directory `/ecos-c/ecos-work/sh7729_build'
make: *** [tests] Error 2



-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]