Hi Manuel,

"Manuel A. Fernandez Montecelo" writes:

> Hello,
>
> We've uploaded 2.8.2 to Debian after a long delay packaging it, and it fails 
> to 
> build on MIPS (ICE, already reported to GNU GCC folk), and so-called ARMEL 
> architecture (ARM EABI) supported by Debian, with GCC v4.4.2:
> https://buildd.debian.org/fetch.cgi?&pkg=openscenegraph&ver=2.8.2-1&arch=armel&stamp=1263767284&file=log
>
> However in past September, 2.8.1 and GCC 4.3.3 managed to compile it 
> successfully:
> https://buildd.debian.org/fetch.cgi?pkg=openscenegraph;ver=2.8.1-1.1;arch=armel;stamp=1251997885
>
> Probably not many people will use OSG on this architecture, but Debian plans 
> to 
> phase out the current ARM architecture, and it would be a pity for this 
> Debian 
> "port" to lose a package which was already working, and for OSG to lose a 
> target 
> architecture.
>
> Do you know something about it?  Would you think that it's a problem of OSG, 
> the 
> compiler, the linker...?
>
> Cheers.

OSG version 2.8.1 had some problems in armel due to a bug in GCC (IIRC,
the linker could not find some intrinsic functions for atomic
operations), that is why I sent a patch to Loïc in order to use the
workaround available at that time:

The original bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=529091

The GCC bug in Debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530388

The upstream GCC bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40134

According to the last link, the bug is solved in GCC 4.4, so, can you
try to remove the extra linker options for armel? Maybe they are doing
more harm than good now. They are in the debian/rules file, under a
comment with my name.

I can also test this with qemu if it is more convenient for you.

Regards,

Alberto
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to