First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 177918
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Renato Caldas <seventhguardian@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
compilation_command.diff The differences between compilation commands text/plain Renato Caldas 2007-05-11 12:40 0000 1.13 KB Details
ogre-1.4.1.ebuild ogre-1.4.1.ebuild text/plain Piotr Szymaniak 2007-05-12 13:03 0000 2.69 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 177918 depends on: Show dependency tree
Bug 177918 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-05-10 13:54 0000
ogre-1.4.1 is released. It's a maintenance release that should correct some of
the existing bugs.

------- Comment #1 From Renato Caldas 2007-05-10 14:21:13 0000 -------
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 From Christoph Brill (egore) 2007-05-10 18:56:33 0000 -------
I could get it to build using the ogre 1.4.0 ebuild. No linking error here.

------- Comment #3 From Renato Caldas 2007-05-10 19:22:46 0000 -------
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 From Roeland Douma 2007-05-10 19:45:34 0000 -------
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 From Renato Caldas 2007-05-10 19:58:09 0000 -------
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 From Matteo Azzali 2007-05-11 08:07:03 0000 -------
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 From Renato Caldas 2007-05-11 12:29:10 0000 -------
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 From Renato Caldas 2007-05-11 12:40:57 0000 -------
Created an attachment (id=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 From Renato Caldas 2007-05-11 12:42:48 0000 -------
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 From Renato Caldas 2007-05-11 15:51:17 0000 -------
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 From Piotr Szymaniak 2007-05-12 13:03:19 0000 -------
Created an attachment (id=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 From Renato Caldas 2007-05-13 12:03:26 0000 -------
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 From Tristan Heaven 2007-05-29 19:37:57 0000 -------
thanks

First Last Prev Next    No search results available      Search page      Enter new bug