This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/46114] [4.6 regression] g++ SEGV when built with gld on Solaris 10+/x86
- From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 22 Oct 2010 13:35:33 +0000
- Subject: [Bug rtl-optimization/46114] [4.6 regression] g++ SEGV when built with gld on Solaris 10+/x86
- Auto-submitted: auto-generated
- References: <bug-46114-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46114
--- Comment #11 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2010-10-22 13:35:08 UTC ---
> --- Comment #10 from Bernd Schmidt <bernds at gcc dot gnu.org> 2010-10-22 13:24:53 UTC ---
> I'll also need preprocessed source since I'm lacking Solaris includes. I'll be
> away for a few weeks so there might be no progress on this bug during that
> time.
It should suffice to replace the includes with declarations of size_t,
abort, calloc, malloc, strcmp, and strlen in pr46114.c:
typedef unsigned int size_t;
extern void abort(void);
extern void *calloc(size_t, size_t);
extern void *malloc(size_t);
extern int strcmp(const char *, const char *);
extern size_t strlen(const char *);
I've replaced those by the corresponding includes so one can compile and
run the testcase on other platforms.
I'll be away until next tuesday myself and won't be reading email during
that time. I very much hope this can be fixed before 4.6.0 is released.
Rainer