From: Jordan P. <jo...@hi...> - 2002-01-25 03:50:40
|
Great, We download the latest toolchain from http://www.sh-linux.org . It = successfully builds the Qt/embedded v2.3.1 in dynamic link and works = fine in our R2 (SH7727) platform. Thanks Jordan -----Original Message----- From: SUGIOKA Toshinobu [mailto:su...@it...] Sent: Thursday, January 24, 2002 3:23 PM To: lin...@m1...; lin...@li... Subject: [linux-sh:02123] Re: New GCC patch At 21:21 02/01/23 +0200, Matan <ma...@sv...> wrote: >On Wed, 23 Jan 2002, Jordan Pan wrote: > >> Again I still face problem in the C++ dynamic link. I follow the >> patch for GCC and the new glibc 2.2.5(pre) build for Qt/embedded. It >> seems the compilation stage is passed, but fail in the runtime. Same >> problem is cleared when we link as static. > > >Might this be related to a c++ dynamic link problem I see? > >The attached file shows a simple c++ program that works ok when linked >statically, but segfaults when linked dynamically. The dynamic version >does work correctly on x86 processor. This problem seems to be related on struct return from shared library. It is not only c++ specific, but also occurs on c program. I have uploaded updated binutils RPM packages. Thanks Kojima-san for the = patch. http://www.sh-linux.org/rpm/RPMS/i386/Laser5-6.4/binutils-sh-linux-2.11.2= -4.i386.rpm http://www.sh-linux.org/rpm/RPMS/i386/RedHat7.1/binutils-sh-linux-2.11.2-= 4.i386.rpm http://www.sh-linux.org/rpm/SRPMS/binutils-2.11.2-4.src.rpm Please retry with them. ---- SUGIOKA Toshinobu |