------- Comment #3 from davek at gcc dot gnu dot org  2009-09-15 12:47 -------
This bug is also present on i686-pc-cygwin at r.151703, so given Jie's
diagnosis in comment 2, let's switch the component from 'target' to 'debug'.


libtool: link: /gnu/gcc/obj.libstdc.enabled/./gcc/xgcc
-B/gnu/gcc/obj.libstdc.enabled/./gcc/ -B/opt/gcc-tools/i686-pc-cygwin/bin/
-B/opt/gcc-tools/i686-pc-cygwin/lib/ -isystem
/opt/gcc-tools/i686-pc-cygwin/include -isystem
/opt/gcc-tools/i686-pc-cygwin/sys-include    -shared  .libs/alloc.o
.libs/barrier.o .libs/critical.o .libs/env.o .libs/error.o .libs/iter.o
.libs/iter_ull.o .libs/loop.o .libs/loop_ull.o .libs/ordered.o .libs/parallel.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    -pthread -Wl,-O1   -o
.libs/cyggomp-1.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker
.libs/libgomp.dll.a
xgcc: unrecognized option '-pthread'
Creating library file:
.libs/libgomp.dll.a.libs/iter.o:iter.c:(.debug_info+0xc29): undefined reference
to `_gomp_tls_data'
.libs/iter.o:iter.c:(.debug_info+0xcd1): undefined reference to
`_gomp_tls_data'
.libs/iter.o:iter.c:(.debug_info+0xdc8): undefined reference to
`_gomp_tls_data'
.libs/iter.o:iter.c:(.debug_info+0xe92): undefined reference to
`_gomp_tls_data'
.libs/iter_ull.o:iter_ull.c:(.debug_info+0xc55): undefined reference to
`_gomp_tls_data'
.libs/iter_ull.o:iter_ull.c:(.debug_info+0xd12): more undefined references to
`_gomp_tls_data' follow
collect2: ld returned 1 exit status


One slight difference is that I don't get the complaint from ld about "fde
encoding ... prevents .eh_frame_hdr table being created" or the (presumably
consequent) "Nonrepresentable section on output" error.


-- 

davek at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |davek at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
          Component|target                      |debug
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-09-15 12:47:47
               date|                            |


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

Reply via email to