> > > I just took latest svn cegcc and wanted to test if the loading > error > > > was fixed (the infamous problem that is only fixed by using upx). > > > > Partially. It may work for you, give it a try. > > > > Surprisingly, I got opposite behavior with the dll binaries compiled > with latest cegcc: they load fine without upx compression and do not > load at all if upx-compressed. Anyways, binaries compiled with the > latest cegcc do not work when I use them (app crashes). When dlls are > upx compressed at the time of loading of my app I'm seeing unaligned > access error in vs debugger. > >
I tried to compile latest cegcc svn version with export gcc_src=gcc which builds previous gcc instead of gcc4.4. Everything compiled well, but I still got the same unaligned access exception on startup. That's really unaligned access exception. The code was something like move r9 [r10] and r10/4 was XXXX.5, which means that r10 did not point to 4-byte aligned memory. Seems like it could be related to binutils?.. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel