Bug #256

I can't compile IM-Kit on Haiku R30710 GCC4

Added by Mizsei Zoltan over 1 year ago. Updated about 1 year ago.

Status:Closed Start:05/12/2009
Priority:High Due date:08/27/2009
Assigned to:Pier Luigi Fiorini % Done:

100%

Category:Build system Spent time: 4.00 hours
Target version:0.9.2 Estimated time:8.00 hours
Operating System:Haiku

Description

I attached the buildlog...

buildlog.txt (33.7 KB) Mizsei Zoltan, 05/12/2009 02:02 pm


Related issues

related to IM Kit - Bug #258: IMKit fails building in Haiku/3rdparty since r913 Assigned 05/31/2009

Associated revisions

Revision 925
Added by Pier Luigi Fiorini about 1 year ago

  • Final gcc4 fixes, this closes #256.

History

Updated by matt madia over 1 year ago

would you run `jam -aq` and post the output?

Updated by Joe Prostko over 1 year ago

I had started trying to fix GCC4 issues myself some time ago. It seemed mostly to be namespace issues, although there was some other issues flung in there too. I can't really tell from your buildlog exactly what is breaking since it's not showing the lines of what the compilation errors actually were, but it still provides some insight.

I may be able to dive into it this upcoming week, but if one of the main devs has already started work on this, I'll work on other things. I'll still take a look out of curiosity again in a few days though regardless, even if it's just to get an idea of what all is involved.

Updated by Andrea Bernardi about 1 year ago

i try compile imkit on r31217 gcc4 but i have this output:

...patience...
...found 1720 target(s)...
...updating 162 target(s)...
Cc libs/libexpat/xmlparse.o
Cc libs/libexpat/xmlrole.o
Cc libs/libexpat/xmltok.o
Archive libs/libexpat/libexpat.a
Ranlib libs/libexpat/libexpat.a
C++ libs/libjabber/JabberAgent.o
C++ libs/libjabber/JabberContact.o
C++ libs/libjabber/JabberElement.o
C++ libs/libjabber/JabberHandler.o

gcc -c -o libs/libjabber/JabberHandler.o -g -Wall -Wno-trigraphs -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wpointer-arith -Wcast-align -Wsign-compare -Wno-multichar -DSTDOUT=1 -DHAIKU_TARGET_PLATFORM_HAIKU=1 -DHAIKU=1 -DBONE_BUILD=1 -DDEBUG=1 -DBUILD_DATE="\"Fri Jun 26 23:51:22 2009\"" -DBUILD_REVISION="\"915\"" -Ilibs/libjabber -Ilibs/libexpat -Ilibs -I/boot/common/include libs/libjabber/JabberHandler.cpp

...failed C++ libs/libjabber/JabberHandler.o ...
...skipped libjabber.a for lack of <libs!libjabber>JabberHandler.o...
...failed updating 1 target(s)...
...skipped 1 target(s)...
...updated 7 target(s)...

Updated by Pier Luigi Fiorini about 1 year ago

  • Target version set to 0.9.2

Updated by Joe Prostko about 1 year ago

It has been quite some time since I posted on this matter, but I wanted to give an update. The other week one night, I updated about 80 or so files to be GCC4-compliant. That said, I could have easily broken GCC2 in the process while doing the changes, so I do indeed need to test that. Currently, my main focus is on Haiku's possible incorporation of GCC 4.4.1, but I'd like to continue on this again as early as next week.

Basically, I haven't come upon anything really difficult to figure out so far, as most of the issues are just tedious little things. I stopped messing with it eventually since I needed a break from it. Once I can confirm my current work doesn't bust the GCC2 build, I can certainly attach a patch here. If Pier or anybody else did some additional work in this area, that is fine..at least this gives me some practice. :)

Updated by Pier Luigi Fiorini about 1 year ago

  • Status changed from New to Assigned
  • % Done changed from 0 to 40
  • Estimated time set to 8.00

Revision r923 has a partial fix for gcc4, I'm planning to continue improving the build process and completely fix the issue within this month.

Your help is appreciated anyway if you can get your hands on this issue before me remember to update your check out to the latest SVN revision.

Updated by Pier Luigi Fiorini about 1 year ago

  • Priority changed from Normal to High

Changed priority to High.

Updated by Pier Luigi Fiorini about 1 year ago

  • Due date set to 08/27/2009
  • Status changed from Assigned to Closed
  • % Done changed from 40 to 100

Closed!

Also available in: Atom PDF