View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001278 | SOGo | SOPE | public | 2011-05-03 22:47 | 2011-07-27 16:54 |
Reporter | bero | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | nightly v2 | ||||
Summary | 0001278: SOPE 1.3.7 doesn't compile with gcc 4.6.x | ||||
Description | Attempting to build SOPE 1.3.7 with gcc 4.6.x results in this error: In file included from EOKeyValueCoding.m:27:0: | ||||
Additional Information | Looks like SOPE is requesting the traditional API, but #include/#imports headers from external libraries (gnustep?) that #include/#import the modern API headers. | ||||
Tags | No tags attached. | ||||
Problem still present in 1.3.7a |
|
That is a bug with GNUstep 1.22 and below that occurs with gcc 4.6, so you must use another version of either packages. |
|
I've taked to the GNUstep guys - they say this is not their bug and must be fixed in SOPE: The problem is that SOPE has no been updated to use the Modern include <objc/objc-api.h>include <objc/encoding.h>#endif Doing what they suggest and getting rid of the obsolete headers, replacing them with <objc/runtime.h> does help the initial problem, but in the end NGObjCRuntime.m still barfs because it accesses structures directly that are hidden these days (MethodList_t and friends). |
|
I'm making progress on this but it is a complex process. We must support the objc runtime included in old versions of gcc and newer versions (not API compatible). We must also support libobjc2 (the GNUstep runtime), which is API compatible with the Apple runtime. So far, SOPE and SOGo compile with libobjc2. I'll keep you posted in this ticket. |
|
Please try the patch I've just attached. |
|
just tested it. works like a charm. |
|
2011-07-27 16:21
|
|
I've just made an other patch. Could you please try it? |
|
Fix pushed in trunk: http://mtn.inverse.ca/revision/diff/b55c3d5a2d3c3107e576e9f623b23f17454a9a63/with/70119bf7d87b438040fe83185770175d612d4aec |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2011-05-03 22:47 | bero | New Issue | |
2011-06-09 13:46 | bero | Note Added: 0002553 | |
2011-06-09 13:54 |
|
Note Added: 0002554 | |
2011-06-09 13:54 |
|
Status | new => closed |
2011-06-09 13:54 |
|
Resolution | open => not fixable |
2011-06-09 14:59 | bero | Note Added: 0002557 | |
2011-06-09 14:59 | bero | Status | closed => feedback |
2011-06-09 14:59 | bero | Resolution | not fixable => reopened |
2011-07-20 19:09 | ludovic | Note Added: 0002728 | |
2011-07-27 14:53 | ludovic | File Added: gcc46-or-libobjc2-runtime.diff | |
2011-07-27 14:54 | ludovic | Note Added: 0002746 | |
2011-07-27 15:20 | awayand | Note Added: 0002747 | |
2011-07-27 16:21 | ludovic | File Deleted: gcc46-or-libobjc2-runtime.diff | |
2011-07-27 16:21 | ludovic | File Added: gcc46-or-libobjc2-runtime.diff | |
2011-07-27 16:21 | ludovic | Note Added: 0002748 | |
2011-07-27 16:54 | ludovic | Note Added: 0002749 | |
2011-07-27 16:54 | ludovic | Status | feedback => closed |
2011-07-27 16:54 | ludovic | Resolution | reopened => fixed |