Changes between Initial Version and Version 1 of Ticket #36438, comment 17


Ignore:
Timestamp:
Jan 14, 2013, 1:31:13 AM (11 years ago)
Author:
larryv (Lawrence Velázquez)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36438, comment 17

    initial v1  
    1 I am seeing this while trying to configure zsh for i386. It still builds and installs, but none of zsh’s dynamic modules get installed because `./configure` gets tripped up:
     1I am seeing this (or something vaguely similar, anyway) while trying to configure zsh for i386 with 64-bit `libstdcxx` installed. It still builds and installs, but none of zsh’s dynamic modules get installed because `./configure` gets tripped up:
    22
    33{{{
    4 configure:11851: checking if environ is available in shared libraries
    5 configure:11873: /usr/bin/clang -c -pipe -O2 -arch i386 -I/opt/local/include -fno-common conftest1.c 1>&5
    6 configure:11876: $? = 0
    7 configure:11879: /usr/bin/clang -o conftest1.so -L/opt/local/lib -Wl,-v -arch i386 -bundle -flat_namespace -undefined suppress conftest1.o -lgdbm -liconv -ldl -lm -lncurses -lc 1>&5
    8 @(#)PROGRAM:ld  PROJECT:ld64-134.9
    9 configured to support archs: armv6 armv7 armv7s i386 x86_64
    10 Library search paths:
    11         /opt/local/lib
    12         /opt/local/lib
    13         /usr/lib
    14         /usr/local/lib
    15 Framework search paths:
    16         /Library/Frameworks/
    17         /System/Library/Frameworks/
     4configure:11810: checking if environ is available in shared libraries
     5configure:11832: /usr/bin/clang -c -pipe -O2 -arch i386 -I/opt/local/include -fno-common conftest1.c 1>&5
     6configure:11835: $? = 0
     7configure:11838: /usr/bin/clang -o conftest1.bundle -L/opt/local/lib -arch i386 -bundle -flat_namespace -undefined suppress conftest1.o -lgdbm -liconv -ldl -lm -lncurses -lc 1>&5
    188ld: in /opt/local/lib/libstdc++.6.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /opt/local/lib/libstdc++.6.dylib for architecture i386
    199clang: error: linker command failed with exit code 1 (use -v to see invocation)
    20 configure:11882: $? = 1
    21 configure:11970: result: no
     10configure:11841: $? = 1
     11configure:11929: result: no
    2212}}}