This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Failures in tests for obj-c++....


Ziemowit Laski wrote:
> 
> On 6 Jun 2005, at 22.26, Christian Joensson wrote:
> 
[snip]
>> ./bitfield-4.exe: error while loading shared libraries: libobjc.so.1:
>> cannot open shared object file: No such file or directory
>> FAIL: obj-c++.dg/bitfield-4.mm execution test
>>
>> Any ideas of what migt go wrong?
> 
> 
> No idea. :-(  Perhaps someone maintaining the GNU runtime could take a 
> look, and also address the i686-pc-linux-gnu ObjC/ObjC++ failures 
> (http://gcc.gnu.org/ml/gcc/2005-05/msg01513.html)...

I cannot reproduce this, yet I think this patch is probably correct
anyway.  Does it help?

Bootstrapped and passed all supported Objective-C tests on
i686-pc-linux-gnu.
If so, OK for mainline and 4.0 branch?

Cheers,
David
2005-06-07  David Ayers  <d.ayers@inode.at>

	* archive.c, init.c, selector.c: Include hash.h.

Index: archive.c
===================================================================
RCS file: /cvs/gcc/gcc/libobjc/archive.c,v
retrieving revision 1.10
diff -u -r1.10 archive.c
--- archive.c	2 Mar 2005 19:37:02 -0000	1.10
+++ archive.c	7 Jun 2005 10:59:43 -0000
@@ -28,6 +28,7 @@
 #include "runtime.h"
 #include "typedstream.h"
 #include "encoding.h"
+#include "hash.h"
 #include <stdlib.h>
 
 extern int fflush (FILE *);
Index: init.c
===================================================================
RCS file: /cvs/gcc/gcc/libobjc/init.c,v
retrieving revision 1.10
diff -u -r1.10 init.c
--- init.c	2 Mar 2005 19:37:02 -0000	1.10
+++ init.c	7 Jun 2005 10:59:43 -0000
@@ -25,6 +25,7 @@
    covered by the GNU General Public License.  */
 
 #include "runtime.h"
+#include "hash.h"
 
 /* The version number of this runtime.  This must match the number 
    defined in gcc (objc-act.c).  */
Index: selector.c
===================================================================
RCS file: /cvs/gcc/gcc/libobjc/selector.c,v
retrieving revision 1.10
diff -u -r1.10 selector.c
--- selector.c	2 Mar 2005 19:37:03 -0000	1.10
+++ selector.c	7 Jun 2005 10:59:43 -0000
@@ -26,6 +26,7 @@
 #include "runtime.h"
 #include "sarray.h"
 #include "encoding.h"
+#include "hash.h"
 
 /* Initial selector hash table size. Value doesn't matter much */
 #define SELECTOR_HASH_SIZE 128

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]