[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNUstep + libobjc2 and powerpc ( was "libobjc2 on powerpc")
From: |
bertrand |
Subject: |
Re: GNUstep + libobjc2 and powerpc ( was "libobjc2 on powerpc") |
Date: |
Thu, 22 Mar 2018 14:49:37 +0100 |
>
> That then, begins to look like a possible libobc2 bug.
>
> The log file provides both the command used to build the test and the text of
> the test program (a load of defines, the tiny config/config.objc.m program,
> and the include of objc-common.g).
> Using that you can reproduce the test executable that crashed.
> You can then run it under gdb to find ot where and how the crash is occurring
> (look at the stack etc).
>
I've copied this into the attached conftest.c and tried to build it
with
clang -integrated-as -o conftest -g -O2
-I/usr/GNUstep/Local/Library/Headers
-I/usr/GNUstep/Local/Library/Headers
-I/usr/GNUstep/System/Library/Headers -shared-libgcc
-L/usr/GNUstep/Local/Library/Libraries
-L/usr/GNUstep/Local/Library/Libraries
-L/usr/GNUstep/System/Library/Libraries conftest.c -lrt -ldl -lpthread
But the compilation fails with :
In file included from conftest.c:108:
In file included from ././config/config.objc.m:2:
In file included from ././config/objc-common.g:13:
/usr/local/include/objc/Object.h:7:1: error: expected identifier or '('
@interface Object
^
/usr/local/include/objc/Object.h:11:1: error: expected identifier or '('
@end
^
In file included from conftest.c:108:
In file included from ././config/config.objc.m:2:
././config/objc-common.g:45:20: error: expected identifier or '('
GS_OBJC_ROOT_CLASS @interface NSObject
^
././config/objc-common.g:49:1: error: expected identifier or '('
@end
^
././config/objc-common.g:61:1: error: expected identifier or '('
@end
^
In file included from conftest.c:108:
././config/config.objc.m:6:1: error: expected identifier or '('
@end
^
././config/config.objc.m:13:1: error: expected external declaration
+(int) testResult
^
././config/config.objc.m:13:3: error: expected identifier or '('
+(int) testResult
^
././config/config.objc.m:13:3: error: expected ')'
././config/config.objc.m:13:2: note: to match this '('
+(int) testResult
^
././config/config.objc.m:17:1: error: expected identifier or '('
@end
^
10 errors generated.
What do I miss ?
Bertrand
conftest.c
Description: Text Data
config.objc.m
Description: Text Data
- Re: libobjc2 and powerpc., (continued)
- Re: libobjc2 and powerpc., David Chisnall, 2018/03/21
- GNUstep + libobjc2 and powerpc ( was "libobjc2 on powerpc"), bertrand, 2018/03/21
- Re: GNUstep + libobjc2 and powerpc ( was "libobjc2 on powerpc"), David Chisnall, 2018/03/21
- Re: GNUstep + libobjc2 and powerpc ( was "libobjc2 on powerpc"), bertrand, 2018/03/21
- Re: GNUstep + libobjc2 and powerpc ( was "libobjc2 on powerpc"), David Chisnall, 2018/03/21
- Re: GNUstep + libobjc2 and powerpc ( was "libobjc2 on powerpc"), bertrand, 2018/03/22
- Re: GNUstep + libobjc2 and powerpc ( was "libobjc2 on powerpc"), Wolfgang Lux, 2018/03/22
- Re: GNUstep + libobjc2 and powerpc ( was "libobjc2 on powerpc"), Richard Frith-Macdonald, 2018/03/22
- Re: GNUstep + libobjc2 and powerpc ( was "libobjc2 on powerpc"), bertrand, 2018/03/22
- Re: GNUstep + libobjc2 and powerpc ( was "libobjc2 on powerpc"), Richard Frith-Macdonald, 2018/03/22
- Re: GNUstep + libobjc2 and powerpc ( was "libobjc2 on powerpc"),
bertrand <=
- Re: GNUstep + libobjc2 and powerpc ( was "libobjc2 on powerpc"), Richard Frith-Macdonald, 2018/03/22
- Re: GNUstep + libobjc2 and powerpc ( was "libobjc2 on powerpc"), bertrand, 2018/03/22
- Re: GNUstep + libobjc2 and powerpc ( was "libobjc2 on powerpc"), Josh Freeman, 2018/03/22
- Re: GNUstep + libobjc2 and powerpc ( was "libobjc2 on powerpc"), Josh Freeman, 2018/03/21
- Re: GNUstep + libobjc2 and powerpc ( was "libobjc2 on powerpc"), David Chisnall, 2018/03/21
- Re: GNUstep + libobjc2 and powerpc ( was "libobjc2 on powerpc"), Bertrand Dekoninck, 2018/03/22
- Re: GNUstep + libobjc2 and powerpc ( was "libobjc2 on powerpc"), Josh Freeman, 2018/03/22