Hi Jonas
This is the gist of a Freenode chat on #uclibc
nataraj /usr/br-git-rf/usr/lib/libc.a(sigrestorer.os):(.ARM.exidx+0x0):
undefined reference to `__aeabi_unwind_cpp_pr1'
nataraj which lib is __aeabi_unwind_cpp_pr1, defined?
nataraj got this while trying to compile an app using freepascal
On 26 Oct 2009, at 16:01, Nataraj S Narayan wrote:
gustavoz you've got that symbol in libgcc so fpc is failing to
link it in
gustavoz you may need a command line switch for fpc to open it, it's
been ages since i've used fpc so i don't recall
gustavoz you may be able to set things right in
Jonas
These are the ones.
/usr/br-git-rf/lib/libgcc_s.so
/usr/br-git-rf/lib/libgcc_s.so.1
/usr/br-git-rf/usr/lib/gcc/arm-linux-uclibcgnueabi/4.3.4/libgcc.a
/usr/br-git-rf/usr/lib/gcc/arm-linux-uclibcgnueabi/4.3.4/libgcc_eh.a
/usr/br-git-rf/usr/lib/libgcc_s.so
/usr/br-git-rf/usr/lib/libgcc_s.so.1
Jonas
Got it linked with : after adding {$linklib gcc_s} to program.
# /software/fpc-uclibc/lib/fpc/2.5.1/ppcrossarm -MObjFPC -TLinux
-Parmv5 -gl -Xd -Xs -l -darm -XParm-linux-uclibcgnueabi- -CfSOFT
-CaEABI -darm -gl -O- -CpARMV5 examples/firework.pp -uUSE_LOCALIZE
hi Jonas
In /usr/br-git-rf/usr/lib 'arm-linux-nm' gives
libstdc++.so.6 U __aeabi_unwind_cpp_pr1@@GCC_3.5
libstdc++.so.6.0.10 U __aeabi_unwind_cpp_pr1@@GCC_3.5
in
/usr/br-git-rf/lib it is in
libgcc_s.so.186bc W __aeabi_unwind_cpp_pr1
regards
Nataraj
libgcc_s.so.186bc W
Nataraj S Narayan wrote on Sat, 24 Oct 2009:
hi Jonas
In /usr/br-git-rf/usr/lib 'arm-linux-nm' gives
libstdc++.so.6 U __aeabi_unwind_cpp_pr1@@GCC_3.5
libstdc++.so.6.0.10 U __aeabi_unwind_cpp_pr1@@GCC_3.5
in
/usr/br-git-rf/lib it is in
libgcc_s.so.186bc W __aeabi_unwind_cpp_pr1
You
Hi
While trying to compile 'firework.pp' under packages/ncurse, for
arm-linux-uclibcgnueabi-
Since my target SBC dont have libncursesw.so i did a symlink to
libncurses.so.5.6.
Target file system is uclibc based. ppcrossarm is compiled with
arm-linux-uclibcgnueabi-
I am able to compile on host
On 23 Oct 2009, at 15:55, Nataraj S Narayan wrote:
While trying to compile 'firework.pp' under packages/ncurse, for
arm-linux-uclibcgnueabi-
uclibc support has not been maintained for a long time, so if it works
you're lucky.
Since my target SBC dont have libncursesw.so i did a symlink
Hi Jonas
-XR dont work for me. Giving
debian:/software/fpc-svn/packages/ncurses/examples#
/software/fpc-uclibc/lib/fpc/2.5.1/ppcrossarm -MObjFPC -TLinux
-Parmv5 -gl -Xd -Xs -l -darm -XParm-linux-uclibcgnueabi- -CfSOFT
-CaEABI -darm -gl -O- -CpARMV5 examples/firework.pp -uUSE_LOCALIZE
On 23 Oct 2009, at 16:44, Nataraj S Narayan wrote:
-XR dont work for me. Giving
debian:/software/fpc-svn/packages/ncurses/examples#
/software/fpc-uclibc/lib/fpc/2.5.1/ppcrossarm -MObjFPC -TLinux
-Parmv5 -gl -Xd -Xs -l -darm -XParm-linux-uclibcgnueabi- -CfSOFT
-CaEABI -darm -gl -O- -CpARMV5
Hi Jonas
Content of link.res:-
SEARCH_DIR(/software/fpc-uclibc/lib/fpc/2.5.1/units/arm-linux/fcl-passrc/)
SEARCH_DIR(/software/fpc-uclibc/lib/fpc/2.5.1/units/arm-linux/dts/)
SEARCH_DIR(/software/fpc-uclibc/lib/fpc/2.5.1/units/arm-linux/dbus/)
On 23 Oct 2009, at 16:55, Nataraj S Narayan wrote:
Content of link.res:-
Can you try adding
-k--sysroot=usr/br-git-rf
That option will only work if your linker has been configured/compiler
with --with-sysroot though, which is probably why the compiler doesn't
specify it by default. It
Hi
Getting better!
Yes, filesystem was built using 'buildroot' with toolchain with
--sysroot support.
# /software/fpc-uclibc/lib/fpc/2.5.1/ppcrossarm -MObjFPC -TLinux
-Parmv5 -gl -Xd -Xs -l -darm -XParm-linux-uclibcgnueabi- -CfSOFT
-CaEABI -darm -gl -O- -CpARMV5 examples/firework.pp
On 23 Oct 2009, at 17:10, Nataraj S Narayan wrote:
Yes, filesystem was built using 'buildroot' with toolchain with
--sysroot support.
# /software/fpc-uclibc/lib/fpc/2.5.1/ppcrossarm -MObjFPC -TLinux
-Parmv5 -gl -Xd -Xs -l -darm -XParm-linux-uclibcgnueabi- -CfSOFT
-CaEABI -darm -gl -O-
Nataraj S Narayan wrote:
/usr/bin/arm-linux-uclibcgnueabi-ld: cannot find -lncursesw
firework.pp(120,48) Error: Error while linking
Add -Fl/usr/br-git-rf/lib, -Fl/usr/br-git-rf/usr/lib or whereever
this library is located?
Micha
___
fpc-devel
On 23 Oct 2009, at 17:19, Micha Nelissen wrote:
Nataraj S Narayan wrote:
/usr/bin/arm-linux-uclibcgnueabi-ld: cannot find -lncursesw
firework.pp(120,48) Error: Error while linking
Add -Fl/usr/br-git-rf/lib, -Fl/usr/br-git-rf/usr/lib or
whereever this library is located?
No,
Jonas Maebe wrote:
On 23 Oct 2009, at 17:19, Micha Nelissen wrote:
Add -Fl/usr/br-git-rf/lib, -Fl/usr/br-git-rf/usr/lib or whereever
this library is located?
No, -XR/usr/br-git-rf should cause those directories to be searched
automatically (but apparently doesn't on Linux).
I saw them
17 matches
Mail list logo