Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177918 - dev-games/ogre-1.4.1 version bump
Summary: dev-games/ogre-1.4.1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://www.ogre3d.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-10 13:54 UTC by Renato Caldas
Modified: 2007-05-29 19:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The differences between compilation commands (compilation_command.diff,1.13 KB, text/plain)
2007-05-11 12:40 UTC, Renato Caldas
Details
ogre-1.4.1.ebuild (ogre-1.4.1.ebuild,2.69 KB, text/plain)
2007-05-12 13:03 UTC, Piotr Szymaniak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Renato Caldas 2007-05-10 13:54:03 UTC
ogre-1.4.1 is released. It's a maintenance release that should correct some of the existing bugs.
Comment 1 Renato Caldas 2007-05-10 14:21:13 UTC
Using the 1.4.0 ebuild and cegui patch I get a linking error:

.libs/OgreGLRenderSystem.o: In function `Ogre::GLRenderSystem::shutdown()':
OgreGLRenderSystem.cpp:(.text+0x217b): undefined reference to `Ogre::HighLevelGp
uProgramManager::removeFactory(Ogre::HighLevelGpuProgramFactory*)'
collect2: ld returned 1 exit status
libtool: install: error: relink `RenderSystem_GL.la' with the above command befo
re installing it

Not sure if this is related to the ebuild or just a bug in the code...
Comment 2 Christoph Brill (egore) (RESIGNED) 2007-05-10 18:56:33 UTC
I could get it to build using the ogre 1.4.0 ebuild. No linking error here.
Comment 3 Renato Caldas 2007-05-10 19:22:46 UTC
I'm using gcc-4.1.2, arch is x86_64.

Ogre use flags: cegui cg examples freeimage gtk threads
Cflags: -march=nocona -O3 -pipe

Yours?
Comment 4 Roeland Douma 2007-05-10 19:45:34 UTC
Renato. You are on amd64. I'm to. I get the same linking error here.. So it must be an amd64 problem. But there is not amd64 keyword so that makes sence.
Comment 5 Renato Caldas 2007-05-10 19:58:09 UTC
Yes I suppose..

But 1.4.0 compiles fine under amd64. There was a problem with the library though (it seemed like it was with the Blue Highway font). I hoped that it would be corrected with 1.4.1, but it doesn't compile.. I'll try to find the source of the compilation problem.

For now it should be running under 32bit, so it should be put in portage for that arch..
Comment 6 Matteo Azzali (RETIRED) gentoo-dev 2007-05-11 08:07:03 UTC
Please don't test just compilation as the freeimage issue is causing segfault
to ANY app/demo/game/example in ogre....
http://www.ogre3d.org/phpBB2/viewtopic.php?p=222212#222212
Comment 7 Renato Caldas 2007-05-11 12:29:10 UTC
The x86_64 compilation problem is caused by the ebuild/portage. It compiled fine by hand.

Not sure what it was, but I suspect it had something to do with -march=nocona. I compared "by eye" the compilation command line for the GL render system and that was the only thing I've noticed to be different (apart from the g++/ x86_64-pc-linux-gnu-g++)..

Will do more checks to see..
Comment 8 Renato Caldas 2007-05-11 12:40:57 UTC
Created attachment 118866 [details]
The differences between compilation commands

Here's the difference between portage and "by hand" compilation commands for the GL render system library
Comment 9 Renato Caldas 2007-05-11 12:42:48 UTC
It has nothing to do with -march=nocona.

Now I suspect the culprit is the -lOgreMain directive, as this may link with the previous ogre installation library! This should not be happening I guess..
Comment 10 Renato Caldas 2007-05-11 15:51:17 UTC
Ok, unmerging ogre 1.4.0 and emerging 1.4.1 works perfectly.

Somehow something is getting confused by the existing ogre installation. This doesn't happen when compiling by hand (that is, with "./configure" and "make").
Comment 11 Piotr Szymaniak 2007-05-12 13:03:19 UTC
Created attachment 118996 [details]
ogre-1.4.1.ebuild

ebuild is just a copy of 1.4.0 with added `devil` USE flag. Works fine for me on two different machines.

From the Changelog:
* Allow Linux configure to choose to use DevIL again if wished, to avoid conflicts of FreeImage's modified image libraries & system libs.
Comment 12 Renato Caldas 2007-05-13 12:03:26 UTC
No need for DevIL, the bug apparently doesn't affect gentoo users.

After unmerging ogre-1.4.0, ogre-1.4.1 compiled and linked fine, and my program was able to compile and run perfectly using freeimage.

So it's ok for the ~x86 and ~amd64 arches I suppose. But the linking problem when 1.4.0 is installed may need to be corrected..
Comment 13 Tristan Heaven (RETIRED) gentoo-dev 2007-05-29 19:37:57 UTC
thanks