public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/12596] configure setting --with-libiconv-prefix doesn't get passed to gcc-subdir
       [not found] <bug-12596-4@http.gcc.gnu.org/bugzilla/>
@ 2023-01-27 19:44 ` vital.had at gmail dot com
  0 siblings, 0 replies; 8+ messages in thread
From: vital.had at gmail dot com @ 2023-01-27 19:44 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12596

Sergey Fedorov <vital.had at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vital.had at gmail dot com

--- Comment #9 from Sergey Fedorov <vital.had at gmail dot com> ---
Got a similar error when trying to run testsuite on 10.6.8:

macmini:FORTRAN_TEST svacchanda$ cd /Users/svacchanda/FORTRAN_TEST/gcc make -j6
macmini:gcc svacchanda$ cd /Users/svacchanda/FORTRAN_TEST/gcc 
macmini:gcc svacchanda$ make -j6
if [ -f ../stage_final ] \
           && cmp -s ../stage_current ../stage_final; then \
          cp ../prev-gcc/cc1-checksum.cc cc1-checksum.cc; \
        else \
          build/genchecksum c/c-lang.o c-family/stub-objc.o attribs.o
c/c-errors.o c/c-decl.o c/c-typeck.o c/c-convert.o c/c-aux-info.o
c/c-objc-common.o c/c-parser.o c/c-fold.o c/gimple-parser.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-indentation.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 c-family/c-ubsan.o c-family/known-headers.o
c-family/c-attribs.o c-family/c-warn.o c-family/c-spellcheck.o darwin-c.o
rs6000-c.o libbackend.a main.o libcommon-target.a libcommon.a
../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a
../libcpp/libcpp.a ../libiberty/libiberty.a   ../libdecnumber/libdecnumber.a
../libbacktrace/.libs/libbacktrace.a \
                     checksum-options > cc1-checksum.cc.tmp &&           \
         
/Users/svacchanda/Github_barracuda156/gcc-12-branch/gcc/../move-if-change
cc1-checksum.cc.tmp cc1-checksum.cc; \
        fi
if [ -f ../stage_final ] \
           && cmp -s ../stage_current ../stage_final; then \
           cp ../prev-gcc/cc1plus-checksum.cc cc1plus-checksum.cc; \
        else \
          build/genchecksum cp/cp-lang.o c-family/stub-objc.o cp/call.o
cp/class.o cp/constexpr.o cp/constraint.o cp/coroutines.o cp/cp-gimplify.o
cp/cp-objcp-common.o cp/cp-ubsan.o cp/cvt.o cp/cxx-pretty-print.o cp/decl.o
cp/decl2.o cp/dump.o cp/error.o cp/except.o cp/expr.o cp/friend.o cp/init.o
cp/lambda.o cp/lex.o cp/logic.o cp/mangle.o cp/mapper-client.o
cp/mapper-resolver.o cp/method.o cp/module.o cp/name-lookup.o cp/optimize.o
cp/parser.o cp/pt.o cp/ptree.o cp/rtti.o cp/search.o cp/semantics.o cp/tree.o
cp/typeck.o cp/typeck2.o cp/vtable-class-hierarchy.o attribs.o incpath.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-indentation.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 c-family/c-ubsan.o
c-family/known-headers.o c-family/c-attribs.o c-family/c-warn.o
c-family/c-spellcheck.o darwin-c.o rs6000-c.o libbackend.a main.o
libcommon-target.a libcommon.a ../libcpp/libcpp.a
../libdecnumber/libdecnumber.a ../libcody/libcody.a libcommon.a
../libcpp/libcpp.a ../libiberty/libiberty.a   ../libdecnumber/libdecnumber.a
../libbacktrace/.libs/libbacktrace.a \
                     checksum-options > cc1plus-checksum.cc.tmp &&         \
         
/Users/svacchanda/Github_barracuda156/gcc-12-branch/gcc/../move-if-change
cc1plus-checksum.cc.tmp cc1plus-checksum.cc; \
        fi
/Users/svacchanda/FORTRAN_TEST/./prev-gcc/xg++
-B/Users/svacchanda/FORTRAN_TEST/./prev-gcc/
-B/opt/svacchanda/gfortran-12-ppc/powerpc-apple-darwin10/bin/ -nostdinc++
-B/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/src/.libs
-B/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/libsupc++/.libs

-I/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/include/powerpc-apple-darwin10

-I/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/include
 -I/Users/svacchanda/Github_barracuda156/gcc-12-branch/libstdc++-v3/libsupc++
-L/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/src/.libs
-L/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/libsupc++/.libs
-no-pie   -g -O2 -mdynamic-no-pic -fno-checking -gtoggle -I/opt/local/include
-DIN_GCC     -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc 
-L/opt/local/lib -o f951 \
                fortran/arith.o fortran/array.o fortran/bbt.o fortran/check.o
fortran/class.o fortran/constructor.o fortran/cpp.o fortran/data.o
fortran/decl.o fortran/dump-parse-tree.o fortran/error.o fortran/expr.o
fortran/interface.o fortran/intrinsic.o fortran/io.o fortran/iresolve.o
fortran/match.o fortran/matchexp.o fortran/misc.o fortran/module.o
fortran/openmp.o fortran/options.o fortran/parse.o fortran/primary.o
fortran/resolve.o fortran/scanner.o fortran/simplify.o fortran/st.o
fortran/symbol.o fortran/target-memory.o darwin-f.o fortran/convert.o
fortran/dependency.o fortran/f95-lang.o fortran/trans.o fortran/trans-array.o
fortran/trans-common.o fortran/trans-const.o fortran/trans-decl.o
fortran/trans-expr.o fortran/trans-intrinsic.o fortran/trans-io.o
fortran/trans-openmp.o fortran/trans-stmt.o fortran/trans-types.o
fortran/frontend-passes.o libbackend.a main.o libcommon-target.a libcommon.a
../libcpp/libcpp.a ../libdecnumber/libdecnumber.a -L./../zlib -lz libcommon.a
../libcpp/libcpp.a  -liconv ../libbacktrace/.libs/libbacktrace.a
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  attribs.o \
                -L/opt/local/lib -lisl -L/opt/local/lib -L/opt/local/lib
-L/opt/local/lib -lmpc -lmpfr -lgmp   -L./../zlib -lz -L/opt/local/lib -lzstd 
/Users/svacchanda/FORTRAN_TEST/./prev-gcc/xg++
-B/Users/svacchanda/FORTRAN_TEST/./prev-gcc/
-B/opt/svacchanda/gfortran-12-ppc/powerpc-apple-darwin10/bin/ -nostdinc++
-B/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/src/.libs
-B/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/libsupc++/.libs

-I/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/include/powerpc-apple-darwin10

-I/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/include
 -I/Users/svacchanda/Github_barracuda156/gcc-12-branch/libstdc++-v3/libsupc++
-L/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/src/.libs
-L/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/libsupc++/.libs
-no-pie   -g -O2 -mdynamic-no-pic -fno-checking -gtoggle -I/opt/local/include
-DIN_GCC     -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc 
-L/opt/local/lib -o xgcc gcc.o gcc-main.o ggc-none.o \
          c/gccspec.o driver-rs6000.o darwin-driver.o libcommon-target.a \
           libcommon.a ../libcpp/libcpp.a  -liconv
../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a 
/Users/svacchanda/FORTRAN_TEST/./prev-gcc/xg++
-B/Users/svacchanda/FORTRAN_TEST/./prev-gcc/
-B/opt/svacchanda/gfortran-12-ppc/powerpc-apple-darwin10/bin/ -nostdinc++
-B/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/src/.libs
-B/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/libsupc++/.libs

-I/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/include/powerpc-apple-darwin10

-I/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/include
 -I/Users/svacchanda/Github_barracuda156/gcc-12-branch/libstdc++-v3/libsupc++
-L/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/src/.libs
-L/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/libsupc++/.libs
-no-pie   -g -O2 -mdynamic-no-pic -fno-checking -gtoggle -I/opt/local/include
-DIN_GCC     -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc 
-L/opt/local/lib -o cpp gcc.o gcc-main.o ggc-none.o \
          c-family/cppspec.o driver-rs6000.o darwin-driver.o libcommon-target.a
\
           libcommon.a ../libcpp/libcpp.a  -liconv
../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a 
/Users/svacchanda/FORTRAN_TEST/./prev-gcc/xg++
-B/Users/svacchanda/FORTRAN_TEST/./prev-gcc/
-B/opt/svacchanda/gfortran-12-ppc/powerpc-apple-darwin10/bin/ -nostdinc++
-B/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/src/.libs
-B/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/libsupc++/.libs

-I/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/include/powerpc-apple-darwin10

-I/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/include
 -I/Users/svacchanda/Github_barracuda156/gcc-12-branch/libstdc++-v3/libsupc++
-L/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/src/.libs
-L/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/libsupc++/.libs
-no-pie   -g -O2 -mdynamic-no-pic -fno-checking -gtoggle -I/opt/local/include
-DIN_GCC     -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc 
-L/opt/local/lib -o xg++ \
          gcc.o gcc-main.o ggc-none.o cp/g++spec.o driver-rs6000.o
darwin-driver.o libcommon-target.a \
           libcommon.a ../libcpp/libcpp.a  -liconv
../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a 
Undefined symbols:
  "_iconv", referenced from:
      __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o)
      __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o)
      __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o)
      __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o)
     (maybe you meant: __cpp_destroy_iconv, __Z14cpp_init_iconvP10cpp_reader )
  "_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_open", referenced from:
      __ZL15init_iconv_descP10cpp_readerPKcS2_ in libcpp.a(charset.o)
Undefined symbols:
  "_iconv", referenced from:
ld: symbol(s) not found
      __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o)
      __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o)
      __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o)
      __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o)
     (maybe you meant: __cpp_destroy_iconv, __Z14cpp_init_iconvP10cpp_reader )
  "_iconv_close", referenced from:
collect2: error: ld returned 1 exit status
      __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_open", referenced from:
      __ZL15init_iconv_descP10cpp_readerPKcS2_ in libcpp.a(charset.o)
ld: symbol(s) not found
make: *** [cpp] Error 1
make: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
make: *** [xg++] Error 1
Undefined symbols:
  "_iconv", referenced from:
      __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o)
      __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o)
      __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o)
      __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o)
     (maybe you meant: __cpp_destroy_iconv, __Z14cpp_init_iconvP10cpp_reader )
  "_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_open", referenced from:
      __ZL15init_iconv_descP10cpp_readerPKcS2_ in libcpp.a(charset.o)
ld: symbol(s) not found
collect2: error: ld returned 1 exit status
make: *** [xgcc] Error 1
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:
      __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o)
      __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o)
      __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o)
      __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o)
     (maybe you meant: __Z14cpp_init_iconvP10cpp_reader, __cpp_destroy_iconv )
  "_iconv_open", referenced from:
      __ZL15init_iconv_descP10cpp_readerPKcS2_ in libcpp.a(charset.o)
ld: symbol(s) not found
collect2: error: ld returned 1 exit status
make: *** [f951] Error 1

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

* [Bug bootstrap/12596] configure setting --with-libiconv-prefix doesn't get passed to gcc-subdir
  2003-10-13 13:14 [Bug bootstrap/12596] New: " ppohja at iki dot fi
                   ` (5 preceding siblings ...)
  2004-03-04 17:52 ` artem at bizlink dot ru
@ 2004-03-12  8:28 ` artem at bizlink dot ru
  6 siblings, 0 replies; 8+ messages in thread
From: artem at bizlink dot ru @ 2004-03-12  8:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From artem at bizlink dot ru  2004-03-12 08:27 -------
I recently tried to build GCC on FreeBSD-5.2.1 (and with fresh 
autoconf/automake). GCC is "gcc-3.4-20040303".

I have libiconv-1.9.1 port installed (in /usr/local, that is).

Configured with: ../configure --prefix=/usr/local/gcc-20040303-4 --disable-nls 
--enable-languages=c,c++,java --disable-java-awt --without-x 
--enable-threads=posix --with-libiconv-prefix=/usr/local --with-dwarf2

Here is what I see:

intl/config.h - HAVE_ICONV defined!
i386-unknown-freebsd5.2.1/libstdc++-v3/config.h - HAVE_ICONV is not defined.
i386-unknown-freebsd5.2.1/libjava/include/config.h - HAVE_ICONV is not defined.

8<----------------------->8
...
Configuring in libiberty
...
checking for iconv... yes
checking how to link with libiconv... /usr/local/lib/libiconv.so -rpath 
/usr/local/lib                 
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t 
*inbytesleft, char * *outbuf, size_t *outbytesleft);
...
Configuring in gcc
...
checking for iconv.h... yes
checking for iconv... no, consider installing GNU libiconv
...
Configuring in i386-unknown-freebsd5.2.1/libstdc++-v3
...
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking langinfo.h usability... yes   
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for iconv in -liconv... no
checking for iconv_open... no
checking for iconv_close... no
checking for iconv... no
checking for nl_langinfo... yes
...
Configuring in i386-unknown-freebsd5.2.1/zlib
...
checking for iconv... no, consider installing GNU libiconv
8<----------------------->8

Here is "i386-unknown-freebsd5.2.1/libjava/config.log":
8<----------------------->8
configure:5272: checking for iconv
configure:5290: /usr/home/artem/gcj/t1/gcc-3.4-20040303/o/gcc/xgcc 
-B/usr/home/artem/gcj/t1/gcc-3.4-20040303/o/
/var/tmp//ccG5l3Eo.o: In function `main':
/usr/home/artem/gcj/t1/gcc-3.4-20040303/o/i386-unknown-freebsd5.2.
1/libjava/configure:5284: undefined reference
/usr/home/artem/gcj/t1/gcc-3.4-20040303/o/i386-unknown-freebsd5.2.
1/libjava/configure:5285: undefined reference
/usr/home/artem/gcj/t1/gcc-3.4-20040303/o/i386-unknown-freebsd5.2.
1/libjava/configure:5286: undefined reference
collect2: ld returned 1 exit status
configure: failed program was:
#line 5280 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <iconv.h>
int main() {
iconv_t cd = iconv_open("","");
       iconv(cd,NULL,NULL,NULL,NULL);
       iconv_close(cd);
; return 0; }
configure:5312: /usr/home/artem/gcj/t1/gcc-3.4-20040303/o/gcc/xgcc 
-B/usr/home/artem/gcj/t1/gcc-3.4-20040303/o/
/usr/bin/ld: cannot find -liconv
collect2: ld returned 1 exit status
configure: failed program was:
#line 5302 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <iconv.h>
int main() {
iconv_t cd = iconv_open("","");
         iconv(cd,NULL,NULL,NULL,NULL);
         iconv_close(cd);
; return 0; }
8<----------------------->8

Trying it by hands:
8<----------------------->8
artem@vg:/tmp/$ cat > test.c              
#line 5280 "configure"

#include <stdlib.h>
#include <iconv.h>
int main() {
iconv_t cd = iconv_open("","");
       iconv(cd,NULL,NULL,NULL,NULL);
       iconv_close(cd);
; return 0; }
artem@vg:/tmp/$ gcc test.c -o test -liconv
/usr/bin/ld: cannot find -liconv
collect2: ld returned 1 exit status
artem@vg:/tmp/$ gcc test.c -o test -liconv -L/usr/local/lib
artem@vg:/tmp/$ ldd test
test:
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28073000)
        libc.so.5 => /lib/libc.so.5 (0x28162000)
8<----------------------->8

It seems the real problem is that gcc on FreeBSD does not include /usr/local/lib 
in linker search path by default.


-- 


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


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

* [Bug bootstrap/12596] configure setting --with-libiconv-prefix doesn't get passed to gcc-subdir
  2003-10-13 13:14 [Bug bootstrap/12596] New: " ppohja at iki dot fi
                   ` (4 preceding siblings ...)
  2004-03-04 16:41 ` artem at bizlink dot ru
@ 2004-03-04 17:52 ` artem at bizlink dot ru
  2004-03-12  8:28 ` artem at bizlink dot ru
  6 siblings, 0 replies; 8+ messages in thread
From: artem at bizlink dot ru @ 2004-03-04 17:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From artem at bizlink dot ru  2004-03-04 17:52 -------
> Does /usr/local appear in any of your include paths 
> (can grep through Makefiles to find out...). Thanks.

FreeBSD 5.1-RELEASE-p11

gcc-3.4-20040303

../configure --prefix=/usr/local/gcc-20040303-2 --disable-nls 
--enable-languages=c,c++,java --disable-java-awt --without-x --enable-threads 
--enable-sjlj-exceptions --with-libiconv-prefix=/usr/local

For me the answer is positive.
(Although it does not relate with iconv detection problem, IMO).

gcc/Makefile:
CPPFLAGS =  -I/usr/local/include

intl/Makefile:
CPPFLAGS = -I/usr/local/include

i386-unknown-freebsd5.1/libjava/libltdl/Makefile:
CPPFLAGS = -O2 -g -O2 -I/usr/local/include

i386-unknown-freebsd5.1/libjava/Makefile:
CPPFLAGS = -O2 -g -O2 -I/usr/local/include

...


-- 


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


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

* [Bug bootstrap/12596] configure setting --with-libiconv-prefix doesn't get passed to gcc-subdir
  2003-10-13 13:14 [Bug bootstrap/12596] New: " ppohja at iki dot fi
                   ` (3 preceding siblings ...)
  2004-03-04 16:17 ` pinskia at gcc dot gnu dot org
@ 2004-03-04 16:41 ` artem at bizlink dot ru
  2004-03-04 17:52 ` artem at bizlink dot ru
  2004-03-12  8:28 ` artem at bizlink dot ru
  6 siblings, 0 replies; 8+ messages in thread
From: artem at bizlink dot ru @ 2004-03-04 16:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From artem at bizlink dot ru  2004-03-04 16:41 -------
Situation in "Bug 14431" is different: configure ignores 
"--with-libiconv-prefix=/usr/local" and HAVE_ICONV is left undefined. 
Compilation passes, but almost all charset conversions are crippled.

-- 


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


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

* [Bug bootstrap/12596] configure setting --with-libiconv-prefix doesn't get passed to gcc-subdir
  2003-10-13 13:14 [Bug bootstrap/12596] New: " ppohja at iki dot fi
                   ` (2 preceding siblings ...)
  2004-02-27 15:54 ` pinskia at gcc dot gnu dot org
@ 2004-03-04 16:17 ` pinskia at gcc dot gnu dot org
  2004-03-04 16:41 ` artem at bizlink dot ru
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-04 16:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-04 16:17 -------
*** Bug 14431 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |artem at bizlink dot ru


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


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

* [Bug bootstrap/12596] configure setting --with-libiconv-prefix doesn't get passed to gcc-subdir
  2003-10-13 13:14 [Bug bootstrap/12596] New: " ppohja at iki dot fi
  2003-11-08 21:12 ` [Bug bootstrap/12596] " dhazeghi at yahoo dot com
  2004-01-17 23:20 ` dhazeghi at yahoo dot com
@ 2004-02-27 15:54 ` pinskia at gcc dot gnu dot org
  2004-03-04 16:17 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-27 15:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-27 15:54 -------
We know what he wants already, so changing it to NEW.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-02-27 15:54:30
               date|                            |


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


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

* [Bug bootstrap/12596] configure setting --with-libiconv-prefix doesn't get passed to gcc-subdir
  2003-10-13 13:14 [Bug bootstrap/12596] New: " ppohja at iki dot fi
  2003-11-08 21:12 ` [Bug bootstrap/12596] " dhazeghi at yahoo dot com
@ 2004-01-17 23:20 ` dhazeghi at yahoo dot com
  2004-02-27 15:54 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-17 23:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dhazeghi at yahoo dot com  2004-01-17 23:20 -------
Reminder, this bug is still awaiting feedback. Does /usr/local appear in any of your include paths 
(can grep through Makefiles to find out...). Thanks.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|dhazeghi at yahoo dot com   |


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


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

* [Bug bootstrap/12596] configure setting --with-libiconv-prefix doesn't get passed to gcc-subdir
  2003-10-13 13:14 [Bug bootstrap/12596] New: " ppohja at iki dot fi
@ 2003-11-08 21:12 ` dhazeghi at yahoo dot com
  2004-01-17 23:20 ` dhazeghi at yahoo dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-11-08 21:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dhazeghi at yahoo dot com  2003-11-08 21:12 -------
Just to clarify: using --with-libiconv-prefix=/usr/local doesn't cause
-I/usr/local/include to be appended to the include flags?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dhazeghi at yahoo dot com
             Status|UNCONFIRMED                 |WAITING
           Keywords|                            |build


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


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

end of thread, other threads:[~2023-01-27 19:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-12596-4@http.gcc.gnu.org/bugzilla/>
2023-01-27 19:44 ` [Bug bootstrap/12596] configure setting --with-libiconv-prefix doesn't get passed to gcc-subdir vital.had at gmail dot com
2003-10-13 13:14 [Bug bootstrap/12596] New: " ppohja at iki dot fi
2003-11-08 21:12 ` [Bug bootstrap/12596] " dhazeghi at yahoo dot com
2004-01-17 23:20 ` dhazeghi at yahoo dot com
2004-02-27 15:54 ` pinskia at gcc dot gnu dot org
2004-03-04 16:17 ` pinskia at gcc dot gnu dot org
2004-03-04 16:41 ` artem at bizlink dot ru
2004-03-04 17:52 ` artem at bizlink dot ru
2004-03-12  8:28 ` artem at bizlink dot ru

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).