[MacPorts] #30961: arm-elf-gcc missing zlib dependency

MacPorts noreply at macports.org
Wed Aug 24 11:28:25 PDT 2011


#30961: arm-elf-gcc missing zlib dependency
-----------------------------------+----------------------------------------
 Reporter:  hannes@…               |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  2.0.1                                
 Keywords:                         |        Port:                                       
-----------------------------------+----------------------------------------
 Macports failed to install arm-elf-gcc by itself, after installing zlib
 everything worked fine.

 hannes at herbert:~$ uname -a
 Darwin herbert 11.0.0 Darwin Kernel Version 11.0.0: Sat Jun 18 12:57:44
 PDT 2011; root:xnu-1699.22.73~1/RELEASE_I386 i386

 Log excerpt:

 {{{

 :info:build /Developer/usr/bin/clang -I/opt/local/include   -pipe -O2
 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -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   -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 arm-c.o \
 :info:build       cc1-checksum.o main.o  libbackend.a ../libcpp/libcpp.a
 ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a -lintl -liconv -lc
 ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a    -lmpc -lmpfr
 -lgmp   -L../zlib -lz
 :info:build ld: warning: ignoring file /opt/local/lib/libz.dylib, file was
 built for unsupported file format which is not the architecture being
 linked (x86_64)
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "_deflateInit_", referenced from:
 :info:build       _lto_end_compression in libbackend.a(lto-compress.o)
 :info:build   "_deflate", referenced from:
 :info:build       _lto_end_compression in libbackend.a(lto-compress.o)
 :info:build   "_deflateEnd", referenced from:
 :info:build       _lto_end_compression in libbackend.a(lto-compress.o)
 :info:build   "_zError", referenced from:
 :info:build       _lto_end_compression in libbackend.a(lto-compress.o)
 :info:build       _lto_end_uncompression in libbackend.a(lto-compress.o)
 :info:build   "_inflate", referenced from:
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "_deflateInit_", referenced from:
 :info:build       _lto_end_uncompression in libbackend.a(lto-compress.o)
 :info:build       _lto_end_compression in libbackend.a(lto-compress.o)
 :info:build   "_inflateEnd", referenced from:
 :info:build       _lto_end_uncompression in libbackend.a(lto-compress.o)
 :info:build   "_deflate", referenced from:
 :info:build       _lto_end_compression in libbackend.a(lto-compress.o)
 :info:build   "_inflateInit_", referenced from:
 :info:build       _lto_end_uncompression in libbackend.a(lto-compress.o)
 :info:build   "_deflateEnd", referenced from:
 :info:build       _lto_end_compression in libbackend.a(lto-compress.o)
 :info:build ld: symbol(s) not found for architecture x86_64
 :info:build   "_zError", referenced from:
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build make[2]: *** [lto1] Error 1
 }}}

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


More information about the macports-tickets mailing list