[Bug middle-end/46671] [4.6 Regression] ICE in default_no_named_section, at varasm .c:5994

danglin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Nov 27 05:51:00 GMT 2010


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

--- Comment #2 from John David Anglin <danglin at gcc dot gnu.org> 2010-11-27 04:20:08 UTC ---
> I'm going to try removing assert.
> 
> It should be noted that on 32-bit HP-UX we create multiple unamed "sections"
> (subspaces) in an object.

Doesn't work.  Section handling is seriously broken:

libtool: link: /test/gnu/gcc/objdir/./gcc/xgcc -B/test/gnu/gcc/objdir/./gcc/
-B/
opt/gnu/gcc/gcc-4.6/hppa2.0w-hp-hpux11.11/bin/
-B/opt/gnu/gcc/gcc-4.6/hppa2.0w-h
p-hpux11.11/lib/ -isystem /opt/gnu/gcc/gcc-4.6/hppa2.0w-hp-hpux11.11/include
-is
ystem /opt/gnu/gcc/gcc-4.6/hppa2.0w-hp-hpux11.11/sys-include    -shared -fPIC
-W
l,+h -Wl,libgomp.sl.1 -Wl,+b -Wl,/opt/gnu/gcc/gcc-4.6/lib -o
.libs/libgomp.sl.1.
0  .libs/alloc.o .libs/barrier.o .libs/critical.o .libs/env.o .libs/error.o
.lib
s/iter.o .libs/iter_ull.o .libs/loop.o .libs/loop_ull.o .libs/ordered.o
.libs/pa
rallel.o .libs/sections.o .libs/single.o .libs/task.o .libs/team.o .libs/work.o 
.libs/lock.o .libs/mutex.o .libs/proc.o .libs/sem.o .libs/bar.o .libs/ptrlock.o 
.libs/time.o .libs/fortran.o .libs/affinity.o   -lrt -lc  -pthread  
/usr/ccs/bin/ld: Internal Error 4012 (invalid subspace in symbol_value)
collect2: ld returned 1 exit status



More information about the Gcc-bugs mailing list