public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/50842] New: gnatmake fails to link in stage3 with undefined symbol _iconv_close
@ 2011-10-24  0:32 danglin at gcc dot gnu.org
  2011-10-26 12:03 ` [Bug target/50842] " danglin at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-10-24  0:32 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50842
           Summary: gnatmake fails to link in stage3 with undefined symbol
                    _iconv_close
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: danglin@gcc.gnu.org
              Host: i686-apple-darwin9
            Target: i686-apple-darwin9
             Build: i686-apple-darwin9


../../xgcc -B../../  -I- -I../rts -I. -I/Users/dave/gnu/gcc/gcc/gcc/ada
-DIN_GCC
  -g -O2 -W -Wall  -o ../../gnatmake b_gnatm.o a-except.o ali.o ali-util.o
aspec
ts.o s-casuti.o alloc.o atree.o binderr.o butil.o casing.o csets.o debug.o
elist
s.o einfo.o errout.o erroutc.o errutil.o err_vars.o fmap.o fname.o fname-uf.o
fn
ame-sf.o gnatmake.o gnatvsn.o hostparm.o interfac.o i-c.o i-cstrin.o krunch.o
li
b.o make.o makeusg.o makeutl.o mlib.o mlib-fil.o mlib-prj.o mlib-tgt.o
mlib-tgt-
specific.o mlib-utl.o namet.o nlists.o opt.o osint.o osint-m.o output.o prj.o
pr
j-attr.o prj-attr-pm.o prj-com.o prj-dect.o prj-env.o prj-conf.o prj-pp.o
prj-er
r.o prj-ext.o prj-nmsc.o prj-pars.o prj-part.o prj-proc.o prj-strt.o prj-tree.o 
prj-util.o restrict.o rident.o s-exctab.o s-secsta.o s-stalib.o s-stoele.o
scans
.o scng.o sdefault.o sfn_scan.o s-purexc.o s-htable.o scil_ll.o sem_aux.o
sinfo.
o sinput.o sinput-c.o sinput-p.o snames.o stand.o stringt.o styleg.o stylesw.o
s
ystem.o validsw.o switch.o switch-m.o table.o targparm.o tempdir.o tree_io.o
typ
es.o uintp.o uname.o urealp.o usage.o widechar.o  \
                    ../../libcommon-target.a ../../libcommon.a
../../../libcpp/l
ibcpp.a targext.o link.o ../rts/libgnat.a  ../../../libiberty/libiberty.a  
Undefined symbols:
  "_iconv_close", referenced from:
      __cpp_destroy_iconv in libcpp.a(charset.o)
      __cpp_destroy_iconv in libcpp.a(charset.o)
      __cpp_destroy_iconv in libcpp.a(charset.o)
      __cpp_destroy_iconv in libcpp.a(charset.o)
      __cpp_destroy_iconv in libcpp.a(charset.o)
      __cpp_convert_input in libcpp.a(charset.o)
  "_iconv", referenced from:
      convert_using_iconv(void*, unsigned char const*, unsigned long,
_cpp_strbu
f*) in libcpp.a(charset.o)
      convert_using_iconv(void*, unsigned char const*, unsigned long,
_cpp_strbu
f*) in libcpp.a(charset.o)
      convert_using_iconv(void*, unsigned char const*, unsigned long,
_cpp_strbu
f*) in libcpp.a(charset.o)
      convert_using_iconv(void*, unsigned char const*, unsigned long,
_cpp_strbu
f*) in libcpp.a(charset.o)
  "_iconv_open", referenced from:
      init_iconv_desc(cpp_reader*, char const*, char const*) in
libcpp.a(charset
.o)
ld: symbol(s) not found

dave@MACPRO:~/gnu/gcc/objdir/gcc$ ./xgcc -B./ -v
Reading specs from ./specs
COLLECT_GCC=./xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: i686-apple-darwin9
Configured with: ../gcc/configure --build=i686-apple-darwin9
--host=i686-apple-darwin9 --target=i686-apple-darwin9 --with-tune=generic
--prefix=/opt/gnu/gcc/gcc-4.7.0 --with-gmp=/opt/gnu/gcc/gcc-4.7.0
--enable-debug=no --disable-nls --disable-multilib
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-threads=posix
--enable-__cxa_atexit --enable-java-gc=boehm : (reconfigured) ../gcc/configure
--build=i686-apple-darwin9 --host=i686-apple-darwin9
--target=i686-apple-darwin9 --with-tune=generic --prefix=/opt/gnu/gcc/gcc-4.7.0
--with-gmp=/opt/gnu/gcc/gcc-4.7.0 --enable-debug=no --disable-nls
--disable-multilib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-threads=posix --enable-__cxa_atexit --enable-java-gc=boehm
Thread model: posix
gcc version 4.7.0 20111023 (experimental) [trunk revision 180354] (GCC)


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-10-28  7:19 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-24  0:32 [Bug target/50842] New: gnatmake fails to link in stage3 with undefined symbol _iconv_close danglin at gcc dot gnu.org
2011-10-26 12:03 ` [Bug target/50842] " danglin at gcc dot gnu.org
2011-10-26 21:27 ` [Bug ada/50842] [4.7 Regression] " ebotcazou at gcc dot gnu.org
2011-10-26 22:36 ` dave.anglin at bell dot net
2011-10-27  9:33 ` rguenth at gcc dot gnu.org
2011-10-27 10:21 ` ebotcazou at gcc dot gnu.org
2011-10-27 15:26 ` dave.anglin at bell dot net
2011-10-27 19:12 ` ebotcazou at gcc dot gnu.org
2011-10-27 19:23 ` dominiq at lps dot ens.fr
2011-10-27 19:29 ` dominiq at lps dot ens.fr
2011-10-27 19:43 ` iains at gcc dot gnu.org
2011-10-28  2:25 ` dave.anglin at bell dot net
2011-10-28  7:14 ` ebotcazou at gcc dot gnu.org
2011-10-28  7:19 ` ebotcazou at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).