[MacPorts] #31988: libiconv doesn't seem to work on x86_64

MacPorts noreply at macports.org
Tue Nov 8 22:58:19 PST 2011


#31988: libiconv doesn't seem to work on x86_64
-------------------------------+--------------------------------------------
 Reporter:  dave@…             |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  2.0.3                                
 Keywords:                     |        Port:                                       
-------------------------------+--------------------------------------------
 The only way I could get trunk gcc to build was by downloading libiconv
 source and installing it under /usr/local as follows:

 {{{
 export LDFLAGS=-L/usr/local/lib && ~/src/gcc/configure  --enable-
 languages=c,c++ --prefix=/usr/local/stow/gcc-4.7 --with-gmp=/opt/local
 --with-mpfr=/opt/local --with-mpc=/opt/local --with-libiconv=/opt/local &&
 make -j8
 }}}

 Otherwise I would get link errors when building cc1, generated by this
 command in the gcc make process:

 {{{
 gcc   -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
 -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-
 attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-
 strings -Wold-style-definition -Wc++-compat -fno-common  -DHAVE_CONFIG_H
 -L/opt/local/lib -o cc1 c-lang.o c-family/stub-objc.o attribs.o c-errors.o
 c-decl.o c-typeck.o c-convert.o c-aux-info.o c-objc-common.o c-parser.o
 tree-mudflap.o c-family/c-common.o c-family/c-cppbuiltin.o
 c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o
 c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o
 c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o
 c-family/c-semantics.o c-family/c-ada-spec.o i386-c.o darwin-c.o \
           cc1-checksum.o main.o tree-browser.o libbackend.a libcommon-
 target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a
 -liconv libcommon.a ../libcpp/libcpp.a -lintl -liconv -lc
 ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
 -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -lmpc -lmpfr -lgmp
 -liconv   -L../zlib -lz
 }}}
 My macports.conf is attached

-- 
Ticket URL: <https://trac.macports.org/ticket/31988>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list