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]

Bootstrap failed on i386-pc-solaris2.10


Hi.

The patch for PR 31868 broke my builds on this machine. I had to back
out the change to 'config.gnu' for my build to succeed. The resulting
diff is below:

diff --git a/gcc/config.gcc b/gcc/config.gcc
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1265,7 +1265,7 @@ i[34567]86-*-solaris2*)
 	*-*-solaris2.1[0-9]*)
 		tm_file="${tm_file} i386/x86-64.h i386/sol2-10.h"
 		tm_defines="${tm_defines} TARGET_BI_ARCH=1"
-		tmake_file="$tmake_file i386/t-crtstuff i386/t-sol2-10"
+		tmake_file="$tmake_file i386/t-sol2-10"
 		need_64bit_hwint=yes
 		# FIXME: -m64 for i[34567]86-*-* should be allowed just
 		# like -m32 for x86_64-*-*.

The build fails with a variety of link errors when linking libgcc:

[ ... snip build log ... ]
Text relocation remains                 	referenced
    against symbol		    offset	in file
<unknown>                           0x2c      	/export/home/arth/gnu/gcc-0807/./gcc/crtbegin.o
<unknown>                           0x39      	/export/home/arth/gnu/gcc-0807/./gcc/crtbegin.o
<unknown>                           0x40      	/export/home/arth/gnu/gcc-0807/./gcc/crtbegin.o
<unknown>                           0x56      	/export/home/arth/gnu/gcc-0807/./gcc/crtbegin.o
<unknown>                           0x61      	/export/home/arth/gnu/gcc-0807/./gcc/crtbegin.o
<unknown>                           0x93      	/export/home/arth/gnu/gcc-0807/./gcc/crtbegin.o
<unknown>                           0x9a      	/export/home/arth/gnu/gcc-0807/./gcc/crtbegin.o
<unknown>                           0xa5      	/export/home/arth/gnu/gcc-0807/./gcc/crtbegin.o
<unknown>                           0xb9      	/export/home/arth/gnu/gcc-0807/./gcc/crtbegin.o
<unknown>                           0x2c      	/export/home/arth/gnu/gcc-0807/./gcc/crtend.o
<unknown>                           0x36      	/export/home/arth/gnu/gcc-0807/./gcc/crtend.o
__register_frame_info_bases         0x7b      	/export/home/arth/gnu/gcc-0807/./gcc/crtbegin.o
__register_frame_info_bases         0x9f      	/export/home/arth/gnu/gcc-0807/./gcc/crtbegin.o
__deregister_frame_info_bases       0x4b      	/export/home/arth/gnu/gcc-0807/./gcc/crtbegin.o
__deregister_frame_info_bases       0x5b      	/export/home/arth/gnu/gcc-0807/./gcc/crtbegin.o
_Jv_RegisterClasses                 0xae      	/export/home/arth/gnu/gcc-0807/./gcc/crtbegin.o
ld: fatal: relocations remain against allocatable but non-writable sections
[ ... snip end of log ... ]

Art Haas


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