public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Cross-compiler: ppc->i386
@ 2003-03-10 16:33 Jeff Elkins
  2003-03-10 17:48 ` LLeweLLyn Reese
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Elkins @ 2003-03-10 16:33 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 1846 bytes --]

Hello List,

I have successfully build a gcc 3.2.2 cross-compiler for i386->ppc and am now 
attempting to build a cross for ppc->i386. All steps succeed with the 
exception of the final gcc rebuild. The tail end of the error is appended 
below, and the entire error log is attached to this message.

In addition to gcc 3.2.2, I'm using binutils-2.13.2.1 and glibc-2.3.1 with 
linuxthreads-2.3.1.  glibc-2.3.2 refuses to compile if gcc is compiled with 
--disable-shared, so I dropped back a version.

I am configuring gcc with:

./configure  --host=powerpc-linux \
--build=powerpc-linux --target=i386-linux \
--prefix=/home/jeff/i386 \
--with-headers=/home/jeff/i386/include \
--with-libs=/home/jeff/i386/lib --enable-shared --disable-nls \
--enable-add-ons --enable-threads=posix --enable-languages=c,c++

Thanks for any assistance,

Jeff Elkins

==============
In file included from /home/jeff/i386/include/math.h:362,
 from /home/jeff/gcc-3.2.2/i386-linux/libstdc++-v3/include/cmath:51,
from 
/home/jeff/gcc-3.2.2/i386-linux/libstdc++-v3/include/bits/locale_facets.tcc:41,
from /home/jeff/gcc-3.2.2/i386-linux/libstdc++-v3/include/locale:46,
from /home/jeff/gcc-3.2.2/i386-linux/libstdc++-v3/include/bits/ostream.tcc:37,
from /home/jeff/gcc-3.2.2/i386-linux/libstdc++-v3/include/ostream:275,
from /home/jeff/gcc-3.2.2/i386-linux/libstdc++-v3/include/bitset:58,
from bitset.cc:43:
/home/jeff/i386/include/bits/mathinline.h: In function `double log1p(double)':
/home/jeff/i386/include/bits/mathinline.h:539: `logl' undeclared (first use 
   this function)
/home/jeff/i386/include/bits/mathinline.h:539: (Each undeclared identifier is 
   reported only once for each function it appears in.)
make[3]: *** [bitset.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive-am] Error 2
make: *** [all-target-libstdc++-v3] Error 2

[-- Attachment #2: error.log --]
[-- Type: text/x-log, Size: 24958 bytes --]

config.h is unchanged
hconfig.h is unchanged
tm_p.h is unchanged
calls.c:2069: warning: function declaration isn't a prototype
emit-rtl.c: In function `gen_rtx_REG':
emit-rtl.c:424: warning: comparison between signed and unsigned
emit-rtl.c: In function `set_mem_attributes_minus_bitpos':
emit-rtl.c:1866: warning: comparison between signed and unsigned
expr.c: In function `expand_assignment':
expr.c:3719: warning: unused variable `old_expr'
fold-const.c: In function `lshift_double':
fold-const.c:418: warning: signed and unsigned type in conditional expression
fold-const.c: In function `div_and_round_double':
fold-const.c:723: warning: comparison between signed and unsigned
function.c: In function `assign_stack_temp_for_type':
function.c:764: warning: signed and unsigned type in conditional expression
profile.c: In function `output_gcov_string':
profile.c:198: warning: signed and unsigned type in conditional expression
config/i386/i386.c: In function `ix86_save_reg':
config/i386/i386.c:3982: warning: comparison between signed and unsigned
cp/class.c: In function `create_vtable_ptr':
cp/class.c:4374: warning: unused parameter `vfuns_p'
cp/init.c: In function `build_default_init':
cp/init.c:236: warning: unused variable `init'
gcc.c:681: warning: string length `792' is greater than the length `509' ISO C89 compilers are required to support
gcc.c:843: warning: string length `679' is greater than the length `509' ISO C89 compilers are required to support
In file included from specs.h:1,
                 from gcc.c:873:
cp/lang-specs.h:38: warning: string length `914' is greater than the length `509' ISO C89 compilers are required to support
gcc.c:1428: warning: string length `2373' is greater than the length `509' ISO C89 compilers are required to support
gcc.c:1428: warning: string length `595' is greater than the length `509' ISO C89 compilers are required to support
tconfig.h is unchanged
crtstuff.c:195: warning: `__EH_FRAME_BEGIN__' defined but not used
crtstuff.c:195: warning: `__EH_FRAME_BEGIN__' defined but not used
make[1]: [distclean] Error 1 (ignored)
In file included from ../../include/xregex.h:26,
                 from regex.c:195:
../../include/xregex2.h:551: warning: ISO C89 does not support `static' or type qualifiers in parameter array declarators
In file included from regex.c:649:
regex.c: In function `byte_regex_compile':
regex.c:2527: warning: implicit declaration of function `free'
regex.c:2588: warning: function `free' was previously declared within a block
regex.c:2621: warning: function `free' was previously declared within a block
regex.c:2728: warning: function `free' was previously declared within a block
regex.c:3731: warning: function `free' was previously declared within a block
regex.c:4238: warning: function `free' was previously declared within a block
regex.c: In function `byte_compile_range':
regex.c:4602: warning: signed and unsigned type in conditional expression
regex.c:4612: warning: signed and unsigned type in conditional expression
regex.c:4612: warning: signed and unsigned type in conditional expression
regex.c: In function `byte_re_compile_fastmap':
regex.c:4952: warning: implicit declaration of function `abort'
regex.c: At top level:
regex.c:1380: warning: traditional C rejects string concatenation
regex.c:1382: warning: traditional C rejects string concatenation
regex.c:1383: warning: traditional C rejects string concatenation
regex.c:1385: warning: traditional C rejects string concatenation
regex.c:1386: warning: traditional C rejects string concatenation
regex.c:1388: warning: traditional C rejects string concatenation
regex.c:1389: warning: traditional C rejects string concatenation
regex.c:1391: warning: traditional C rejects string concatenation
regex.c:1392: warning: traditional C rejects string concatenation
regex.c:1394: warning: traditional C rejects string concatenation
regex.c:1395: warning: traditional C rejects string concatenation
regex.c:1397: warning: traditional C rejects string concatenation
regex.c:1398: warning: traditional C rejects string concatenation
regex.c:1400: warning: traditional C rejects string concatenation
regex.c:1401: warning: traditional C rejects string concatenation
regex.c:1403: warning: traditional C rejects string concatenation
regex.c:1404: warning: traditional C rejects string concatenation
regex.c:1406: warning: traditional C rejects string concatenation
regex.c:1407: warning: traditional C rejects string concatenation
regex.c:1409: warning: traditional C rejects string concatenation
regex.c:1410: warning: traditional C rejects string concatenation
regex.c:1412: warning: traditional C rejects string concatenation
regex.c:1413: warning: traditional C rejects string concatenation
regex.c:1415: warning: traditional C rejects string concatenation
regex.c:1416: warning: traditional C rejects string concatenation
regex.c:1418: warning: traditional C rejects string concatenation
regex.c:1419: warning: traditional C rejects string concatenation
regex.c:1421: warning: traditional C rejects string concatenation
regex.c:1422: warning: traditional C rejects string concatenation
regex.c:1424: warning: traditional C rejects string concatenation
regex.c:1425: warning: traditional C rejects string concatenation
regex.c:1427: warning: traditional C rejects string concatenation
regex.c: In function `xregcomp':
regex.c:8099: warning: signed and unsigned type in conditional expression
regex.c:8138: warning: function `free' was previously declared within a block
regex.c: In function `xregexec':
regex.c:8217: warning: function `free' was previously declared within a block
regex.c: In function `xregerror':
regex.c:8234: warning: unused parameter `preg'
regex.c: In function `xregfree':
regex.c:8283: warning: function `free' was previously declared within a block
In file included from ../../include/xregex.h:26,
                 from regex.c:195:
../../include/xregex2.h:551: warning: ISO C89 does not support `static' or type qualifiers in parameter array declarators
In file included from regex.c:649:
regex.c: In function `byte_regex_compile':
regex.c:2527: warning: implicit declaration of function `free'
regex.c:2588: warning: function `free' was previously declared within a block
regex.c:2621: warning: function `free' was previously declared within a block
regex.c:2728: warning: function `free' was previously declared within a block
regex.c:3731: warning: function `free' was previously declared within a block
regex.c:4238: warning: function `free' was previously declared within a block
regex.c: In function `byte_compile_range':
regex.c:4602: warning: signed and unsigned type in conditional expression
regex.c:4612: warning: signed and unsigned type in conditional expression
regex.c:4612: warning: signed and unsigned type in conditional expression
regex.c: In function `byte_re_compile_fastmap':
regex.c:4952: warning: implicit declaration of function `abort'
regex.c: At top level:
regex.c:1380: warning: traditional C rejects string concatenation
regex.c:1382: warning: traditional C rejects string concatenation
regex.c:1383: warning: traditional C rejects string concatenation
regex.c:1385: warning: traditional C rejects string concatenation
regex.c:1386: warning: traditional C rejects string concatenation
regex.c:1388: warning: traditional C rejects string concatenation
regex.c:1389: warning: traditional C rejects string concatenation
regex.c:1391: warning: traditional C rejects string concatenation
regex.c:1392: warning: traditional C rejects string concatenation
regex.c:1394: warning: traditional C rejects string concatenation
regex.c:1395: warning: traditional C rejects string concatenation
regex.c:1397: warning: traditional C rejects string concatenation
regex.c:1398: warning: traditional C rejects string concatenation
regex.c:1400: warning: traditional C rejects string concatenation
regex.c:1401: warning: traditional C rejects string concatenation
regex.c:1403: warning: traditional C rejects string concatenation
regex.c:1404: warning: traditional C rejects string concatenation
regex.c:1406: warning: traditional C rejects string concatenation
regex.c:1407: warning: traditional C rejects string concatenation
regex.c:1409: warning: traditional C rejects string concatenation
regex.c:1410: warning: traditional C rejects string concatenation
regex.c:1412: warning: traditional C rejects string concatenation
regex.c:1413: warning: traditional C rejects string concatenation
regex.c:1415: warning: traditional C rejects string concatenation
regex.c:1416: warning: traditional C rejects string concatenation
regex.c:1418: warning: traditional C rejects string concatenation
regex.c:1419: warning: traditional C rejects string concatenation
regex.c:1421: warning: traditional C rejects string concatenation
regex.c:1422: warning: traditional C rejects string concatenation
regex.c:1424: warning: traditional C rejects string concatenation
regex.c:1425: warning: traditional C rejects string concatenation
regex.c:1427: warning: traditional C rejects string concatenation
regex.c: In function `xregcomp':
regex.c:8099: warning: signed and unsigned type in conditional expression
regex.c:8138: warning: function `free' was previously declared within a block
regex.c: In function `xregexec':
regex.c:8217: warning: function `free' was previously declared within a block
regex.c: In function `xregerror':
regex.c:8234: warning: unused parameter `preg'
regex.c: In function `xregfree':
regex.c:8283: warning: function `free' was previously declared within a block
md5.c: In function `md5_finish_ctx':
md5.c:115: warning: implicit declaration of function `memcpy'
md5.c:356:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:357:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:358:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:359:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:360:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:361:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:362:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:363:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:364:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:365:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:366:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:367:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:368:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:369:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:370:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:371:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:374:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:375:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:376:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:377:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:378:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:379:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:380:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:381:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:382:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:383:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:384:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:385:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:386:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:387:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:388:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:389:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:392:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:393:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:394:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:395:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:396:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:397:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:398:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:399:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:400:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:401:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:402:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:403:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:404:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:405:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:406:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:407:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c: In function `md5_finish_ctx':
md5.c:115: warning: implicit declaration of function `memcpy'
md5.c:356:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:357:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:358:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:359:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:360:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:361:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:362:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:363:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:364:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:365:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:366:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:367:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:368:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:369:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:370:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:371:58: warning: function-like macro "FG" must be used with arguments in traditional C
md5.c:374:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:375:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:376:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:377:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:378:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:379:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:380:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:381:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:382:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:383:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:384:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:385:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:386:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:387:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:388:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:389:58: warning: function-like macro "FH" must be used with arguments in traditional C
md5.c:392:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:393:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:394:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:395:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:396:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:397:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:398:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:399:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:400:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:401:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:402:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:403:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:404:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:405:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:406:58: warning: function-like macro "FI" must be used with arguments in traditional C
md5.c:407:58: warning: function-like macro "FI" must be used with arguments in traditional C
ln: `./basic_ios.h': File exists
ln: `./basic_ios.tcc': File exists
ln: `./basic_string.h': File exists
ln: `./basic_string.tcc': File exists
ln: `./boost_concept_check.h': File exists
ln: `./char_traits.h': File exists
ln: `./codecvt.h': File exists
ln: `./concept_check.h': File exists
ln: `./cpp_type_traits.h': File exists
ln: `./fpos.h': File exists
ln: `./fstream.tcc': File exists
ln: `./functexcept.h': File exists
ln: `./generic_shadow.h': File exists
ln: `./gslice.h': File exists
ln: `./gslice_array.h': File exists
ln: `./indirect_array.h': File exists
ln: `./ios_base.h': File exists
ln: `./istream.tcc': File exists
ln: `./locale_facets.h': File exists
ln: `./locale_facets.tcc': File exists
ln: `./localefwd.h': File exists
ln: `./mask_array.h': File exists
ln: `./ostream.tcc': File exists
ln: `./pthread_allocimpl.h': File exists
ln: `./stream_iterator.h': File exists
ln: `./streambuf_iterator.h': File exists
ln: `./slice.h': File exists
ln: `./slice_array.h': File exists
ln: `./sstream.tcc': File exists
ln: `./stl_algo.h': File exists
ln: `./stl_algobase.h': File exists
ln: `./stl_alloc.h': File exists
ln: `./stl_bvector.h': File exists
ln: `./stl_construct.h': File exists
ln: `./stl_deque.h': File exists
ln: `./stl_function.h': File exists
ln: `./stl_heap.h': File exists
ln: `./stl_iterator.h': File exists
ln: `./stl_iterator_base_funcs.h': File exists
ln: `./stl_iterator_base_types.h': File exists
ln: `./stl_list.h': File exists
ln: `./stl_map.h': File exists
ln: `./stl_multimap.h': File exists
ln: `./stl_multiset.h': File exists
ln: `./stl_numeric.h': File exists
ln: `./stl_pair.h': File exists
ln: `./stl_pthread_alloc.h': File exists
ln: `./stl_queue.h': File exists
ln: `./stl_raw_storage_iter.h': File exists
ln: `./stl_relops.h': File exists
ln: `./stl_set.h': File exists
ln: `./stl_stack.h': File exists
ln: `./stl_tempbuf.h': File exists
ln: `./stl_threads.h': File exists
ln: `./stl_tree.h': File exists
ln: `./stl_uninitialized.h': File exists
ln: `./stl_vector.h': File exists
ln: `./streambuf.tcc': File exists
ln: `./stringfwd.h': File exists
ln: `./type_traits.h': File exists
ln: `./valarray_array.h': File exists
ln: `./valarray_array.tcc': File exists
ln: `./valarray_meta.h': File exists
ln: `./complex.h': File exists
ln: `./iomanip.h': File exists
ln: `./istream.h': File exists
ln: `./ostream.h': File exists
ln: `./stream.h': File exists
ln: `./streambuf.h': File exists
ln: `./algo.h': File exists
ln: `./algobase.h': File exists
ln: `./alloc.h': File exists
ln: `./bvector.h': File exists
ln: `./defalloc.h': File exists
ln: `./deque.h': File exists
ln: `./function.h': File exists
ln: `./hash_map.h': File exists
ln: `./hash_set.h': File exists
ln: `./hashtable.h': File exists
ln: `./heap.h': File exists
ln: `./iostream.h': File exists
ln: `./iterator.h': File exists
ln: `./list.h': File exists
ln: `./map.h': File exists
ln: `./multimap.h': File exists
ln: `./new.h': File exists
ln: `./multiset.h': File exists
ln: `./pair.h': File exists
ln: `./queue.h': File exists
ln: `./rope.h': File exists
ln: `./set.h': File exists
ln: `./slist.h': File exists
ln: `./stack.h': File exists
ln: `./tempbuf.h': File exists
ln: `./tree.h': File exists
ln: `./vector.h': File exists
ln: `./fstream.h': File exists
ln: `./strstream.h': File exists
ln: `./strstream': File exists
ln: `./backward_warning.h': File exists
ln: `./algorithm': File exists
ln: `./enc_filebuf.h': File exists
ln: `./stdio_filebuf.h': File exists
ln: `./functional': File exists
ln: `./hash_map': File exists
ln: `./hash_set': File exists
ln: `./iterator': File exists
ln: `./memory': File exists
ln: `./numeric': File exists
ln: `./rb_tree': File exists
ln: `./rope': File exists
ln: `./ropeimpl.h': File exists
ln: `./slist': File exists
ln: `./stl_hash_fun.h': File exists
ln: `./stl_hashtable.h': File exists
ln: `./stl_rope.h': File exists
stubs.c:149: warning: type mismatch with previous implicit declaration
/home/jeff/i386/include/bits/mathinline.h:558: warning: previous implicit declaration of `logl'
stubs.c:149: warning: `logl' was previously implicitly declared to return `int'
In file included from eh_personality.cc:38:
../../../gcc/unwind-pe.h: In function `unsigned int 
   size_of_encoded_value(unsigned char)':
../../../gcc/unwind-pe.h:77: warning: control reaches end of non-void function
../../../gcc/unwind-pe.h: In function `_Unwind_Ptr 
   base_of_encoded_value(unsigned char, _Unwind_Context*)':
../../../gcc/unwind-pe.h:107: warning: control reaches end of non-void function
../../../gcc/unwind-pe.h: In function `const unsigned char* 
   read_encoded_value_with_base(unsigned char, unsigned int, const unsigned 
   char*, _Unwind_Ptr*)':
../../../gcc/unwind-pe.h:182: warning: `_Unwind_Ptr result' might be used 
   uninitialized in this function
eh_terminate.cc: In function `void __cxxabiv1::__terminate(void (*)())':
eh_terminate.cc:52: warning: `noreturn' function does return
cc1: warning: ignoring command line option '-fno-implicit-templates'
cc1: warning: (it is valid for C++ but not the selected language)
cxa_demangle.c:3889: warning: `demangle_v3_with_details' defined but not used
cc1: warning: ignoring command line option '-fno-implicit-templates'
cc1: warning: (it is valid for C++ but not the selected language)
In file included from /home/jeff/i386/include/math.h:362,
 from /home/jeff/gcc-3.2.2/i386-linux/libstdc++-v3/include/cmath:51,
from /home/jeff/gcc-3.2.2/i386-linux/libstdc++-v3/include/bits/locale_facets.tcc:41,
from /home/jeff/gcc-3.2.2/i386-linux/libstdc++-v3/include/locale:46,
from /home/jeff/gcc-3.2.2/i386-linux/libstdc++-v3/include/bits/ostream.tcc:37,
from /home/jeff/gcc-3.2.2/i386-linux/libstdc++-v3/include/ostream:275,
from /home/jeff/gcc-3.2.2/i386-linux/libstdc++-v3/include/bitset:58,
from bitset.cc:43:
/home/jeff/i386/include/bits/mathinline.h: In function `double log1p(double)':
/home/jeff/i386/include/bits/mathinline.h:539: `logl' undeclared (first use 
   this function)
/home/jeff/i386/include/bits/mathinline.h:539: (Each undeclared identifier is 
   reported only once for each function it appears in.)
make[3]: *** [bitset.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive-am] Error 2
make: *** [all-target-libstdc++-v3] Error 2

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

* Re: Cross-compiler: ppc->i386
  2003-03-10 16:33 Cross-compiler: ppc->i386 Jeff Elkins
@ 2003-03-10 17:48 ` LLeweLLyn Reese
  2003-03-10 18:30   ` Jeff Elkins
  0 siblings, 1 reply; 3+ messages in thread
From: LLeweLLyn Reese @ 2003-03-10 17:48 UTC (permalink / raw)
  To: Jeff Elkins; +Cc: gcc-help

Jeff Elkins <jeffelkins@earthlink.net> writes:

> Hello List,
> 
> I have successfully build a gcc 3.2.2 cross-compiler for i386->ppc and am now 
> attempting to build a cross for ppc->i386. All steps succeed with the 
> exception of the final gcc rebuild. The tail end of the error is appended 
> below, and the entire error log is attached to this message.
> 
> In addition to gcc 3.2.2, I'm using binutils-2.13.2.1 and glibc-2.3.1 with 
> linuxthreads-2.3.1.  glibc-2.3.2 refuses to compile if gcc is compiled with 
> --disable-shared, so I dropped back a version.
> 
> I am configuring gcc with:
> 
> ./configure  --host=powerpc-linux \
> --build=powerpc-linux --target=i386-linux \
> --prefix=/home/jeff/i386 \
> --with-headers=/home/jeff/i386/include \
> --with-libs=/home/jeff/i386/lib --enable-shared --disable-nls \
> --enable-add-ons --enable-threads=posix --enable-languages=c,c++
> 
> Thanks for any assistance,
> 
> Jeff Elkins
> 
> ==============
> In file included from /home/jeff/i386/include/math.h:362,
>  from /home/jeff/gcc-3.2.2/i386-linux/libstdc++-v3/include/cmath:51,
> from 
> /home/jeff/gcc-3.2.2/i386-linux/libstdc++-v3/include/bits/locale_facets.tcc:41,
> from /home/jeff/gcc-3.2.2/i386-linux/libstdc++-v3/include/locale:46,
> from /home/jeff/gcc-3.2.2/i386-linux/libstdc++-v3/include/bits/ostream.tcc:37,
> from /home/jeff/gcc-3.2.2/i386-linux/libstdc++-v3/include/ostream:275,
> from /home/jeff/gcc-3.2.2/i386-linux/libstdc++-v3/include/bitset:58,
> from bitset.cc:43:
> /home/jeff/i386/include/bits/mathinline.h: In function `double log1p(double)':
> /home/jeff/i386/include/bits/mathinline.h:539: `logl' undeclared (first use 
>    this function)
> /home/jeff/i386/include/bits/mathinline.h:539: (Each undeclared identifier is 
>    reported only once for each function it appears in.)
> make[3]: *** [bitset.lo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive-am] Error 2
> make: *** [all-target-libstdc++-v3] Error 2

My first guess is that your libc doesn't have logl. I suppose you
    could try getting a newer libc...

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

* Re: Cross-compiler: ppc->i386
  2003-03-10 17:48 ` LLeweLLyn Reese
@ 2003-03-10 18:30   ` Jeff Elkins
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Elkins @ 2003-03-10 18:30 UTC (permalink / raw)
  To: gcc-help

On Monday 10 March 2003 12:45 pm, LLeweLLyn Reese wrote:
>My first guess is that your libc doesn't have logl. I suppose you
> could try getting a newer libc...

glibc 2.3.1 was released last November, I think.  Could I determine this by 
looking through the source?

Jeff

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

end of thread, other threads:[~2003-03-10 18:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-10 16:33 Cross-compiler: ppc->i386 Jeff Elkins
2003-03-10 17:48 ` LLeweLLyn Reese
2003-03-10 18:30   ` Jeff Elkins

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