[coldfire-gnu-discuss] m68k-linux-gnu-gcc/php-5.3.5 cross compiling problem

Carlos O'Donell carlos at codesourcery.com
Fri Feb 25 00:38:53 UTC 2011


On 2/24/2011 4:57 PM, El Topo wrote:
> /bin/sh /home/lxl/php-5.3.5/cpibuild/libtool --silent
> --preserve-dup-deps --mode=compile m68k-linux-gnu-gcc -Iext/date/lib
> -Iext/date/ -I/home/lxl/php-5.3.5/ext/date/ -DPHP_ATOM_INC
> -I/home/lxl/php-5.3.5/cpibuild/include
> -I/home/lxl/php-5.3.5/cpibuild/main -I/home/lxl/php-5.3.5
> -I/home/lxl/php-5.3.5/cpibuild/ext/date/lib
> -I/home/lxl/php-5.3.5/ext/date/lib
> -I/home/lxl/php-5.3.5/ext/ereg/regex -I/usr/local/include/libxml2
> -I/home/lxl/php-5.3.5/ext/sqlite3/libsqlite
> -I/home/lxl/php-5.3.5/cpibuild/TSRM
> -I/home/lxl/php-5.3.5/cpibuild/Zend -I/home/lxl/php-5.3.5/main
> -I/home/lxl/php-5.3.5/Zend -I/home/lxl/php-5.3.5/TSRM
> -I/home/lxl/php-5.3.5/cpibuild/    -mcpu=54418  -c
> /home/lxl/php-5.3.5/ext/date/lib/parse_date.c -o
> ext/date/lib/parse_date.lo
> /tmp/cc4YYDBL.s: Assembler messages:
> /tmp/cc4YYDBL.s:102080: Fatal error: Tried to convert PC relative
> branch to absolute jump
> make: *** [ext/date/lib/parse_date.lo] Error 1
> make: Leaving directory `/home/lxl/php-5.3.5/cpibuild'
> failed to make!

In order to recreate the problem on our end we need you to provide us
with the following information:

1. The compiler command line that causes the failure (not the libtool
line, you may need to run libtool without --silent to see what's it's
doing).

e.g. gcc -O2 -g -o test.o test.c

2. The output of running the compiler but with "-v" added.

e.g. gcc -v -O2 -g -o test.o test.c 2>&1 compiler.log

3. The pre-processed source output by the compiler. This is done by
adding '-save-temps' to the compiler command line. This produces a "*.i"
file.

e.g. gcc -save-temps -v -O2 -g -o test.o test.cc

Can you send the information from step one, the "compiler.log" and the
"*.i" file?

Thanks!

Cheers,
Carlos.
-- 
Carlos O'Donell
Mentor Graphics / CodeSourcery
carlos at codesourcery.com
+1 (650) 331-3385 x716



More information about the coldfire-gnu-discuss mailing list