[Bug objc/29412] New: gnustep-base build fails with gcc 3.4.x on HP-UX 11.23 (both ia64 and pa)

2006-10-10 Thread rashmihegde at hp dot com
h:578:1: warning: "__" redefined
In file included from
/opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/string.h:15,
from GSCategories.m:26:
/opt/OCEK/lib/gcc/ia64-hp-hpux11.23/3.4.0/include/sys/stdsyms.h:398:1: warning:
this is the location of the previous definition
In file included from ../../Headers/Foundation/NSException.h:35,
from ../../Headers/Foundation/NSClassDescription.h:29,
from ../../Headers/Foundation/Foundation.h:43,
from GSCategories.m:27:
/usr/include/setjmp.h:22: error: parse error before "jmp_buf"
/usr/include/setjmp.h:39: error: parse error before "sigjmp_buf"
/usr/include/setjmp.h:53: error: parse error before "int"
/usr/include/setjmp.h:67: error: parse error before "int"
/usr/include/setjmp.h:80: error: parse error before "int"
/usr/include/setjmp.h:81: error: parse error before "int"
In file included from ../../Headers/Foundation/NSClassDescription.h:29,
from ../../Headers/Foundation/Foundation.h:43,
from GSCategories.m:27:
../../Headers/Foundation/NSException.h:193: error: parse error before "jmp_buf"
../../Headers/Foundation/NSException.h:193: warning: no semicolon at end of
struct or union
../../Headers/Foundation/NSException.h:196: error: parse error before '}' token
../../Headers/Foundation/NSException.h:196: warning: type defaults to `int' in
declaration of `NSHandler'
../../Headers/Foundation/NSException.h:196: warning: data definition has no
type or storage class
../../Headers/Foundation/NSException.h:275: error: parse error before '*' token
../../Headers/Foundation/NSException.h:277: error: parse error before '*' token
In file included from ../../Headers/Foundation/Foundation.h:97,
from GSCategories.m:27:
../../Headers/Foundation/NSThread.h:41: error: parse error before "NSHandler"
GSCategories.m: In function `-[NSData(GSCategories)
initWithHexadecimalRepresentation:]':
GSCategories.m:308: warning: subscript has type `char'
gmake[3]: *** [shared_obj/GSCategories.o] Error 1
gmake[2]: *** [Additions.all.subproject.variables] Error 2
gmake[2]: Leaving directory
`/USERSPACE/ocek/gnustep-base/gnustep-base-1.13.0/Source/Additions'
gmake[1]: *** [libgnustep-base.all.library.variables] Error 2
gmake[1]: Leaving directory
`/USERSPACE/ocek/gnustep-base/gnustep-base-1.13.0/Source'
gmake: *** [internal-all] Error 2

The same build is successful on HPUX 11.11.
The build goes through with gcc 3.3.x line on 11.23 both pa and ipf. 

I am not sure if this is incompatible on gcc side or gnustep. Kindly help.


-- 
   Summary: gnustep-base build fails with gcc 3.4.x on HP-UX 11.23
(both ia64 and pa)
   Product: gcc
   Version: unknown
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: objc
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rashmihegde at hp dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29412



[Bug objc/29412] gnustep-base build fails with gcc 3.4.x on HP-UX 11.23 (both ia64 and pa)

2006-12-19 Thread rashmihegde at hp dot com


--- Comment #3 from rashmihegde at hp dot com  2006-12-20 07:12 ---
(In reply to comment #2)
> Can you attach the preprocessed source?
> 

hello there, sorry for the late reply.

After I added the following patch to gcc-3.4.6/gcc/config/ia64/hpux.h I could
get rid of the error in the gnustep-base build on the ia64 machine.



diff -rupN gcc-3.4.6.orig/gcc/config/ia64/hpux.h
gcc-3.4.6/gcc/config/ia64/hpux.h
--- gcc-3.4.6.orig/gcc/config/ia64/hpux.h   2006-10-23 12:57:31.0
+0530
+++ gcc-3.4.6/gcc/config/ia64/hpux.h2006-10-23 12:57:31.0 +0530
@@ -40,6 +40,9 @@ do {  \
builtin_define("__IA64__"); \
builtin_define("_LONGLONG");\
builtin_define("_INCLUDE_LONGLONG");\
+builtin_define("__fpreg=long double");  \
+builtin_define("__float80=long double");\
+builtin_define("__float128=long double");   \
builtin_define("_UINT128_T");   \
if (c_dialect_cxx () || !flag_iso)  \
  { \


These declarations were present in the earlier gcc (3.3.2).
Please include these declarations in the next release of gcc.


-- 

rashmihegde at hp dot com changed:

   What|Removed |Added

 Status|WAITING |UNCONFIRMED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29412



[Bug objc/29412] [3.4 Regression] gnustep-base build fails with gcc 3.4.x on HP-UX 11.23 (both ia64 and pa)

2006-12-20 Thread rashmihegde at hp dot com


--- Comment #5 from rashmihegde at hp dot com  2006-12-20 08:24 ---
thanks for this input.
I would not be able to move to 4 line immediately.
Can you tell me how to make this declaration in 3.4.6 so that I can create a
patch for my own use.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29412