Re: GCC on FreeBSD/ia64: No rule to make target .../libgcc/crtfastmath.o

2010-09-07 Thread Anton Shterenlikht
On Mon, Sep 06, 2010 at 07:00:15PM -0700, H.J. Lu wrote:
 On Mon, Sep 6, 2010 at 4:30 PM, Gerald Pfeifer ger...@pfeifer.com wrote:
  Anton reports that GCC fails to build on FreeBSD/ia64.  Any ideas
  on what to try?  I assume it's just a small change that caused this
  regression (this used to work some releases ago).
 
  gmake[4]: Entering directory `/usr/ports/lang/gcc46/work/build/gcc'
  gmake[4]: *** No rule to make target 
  `/usr/ports/lang/gcc46/work/build/ia64-portbld-freebsd9.0/libgcc/crtfastmath.o',
   needed by `T_TARGET'.  Stop.
  gmake[4]: *** Waiting for unfinished jobs
  gmake[4]: Leaving directory `/usr/ports/lang/gcc46/work/build/gcc'
  gmake[3]: *** [gcc-extra-parts] Error 2
  gmake[3]: *** Waiting for unfinished jobs
  gmake[3]: Leaving directory 
  `/usr/ports/lang/gcc46/work/build/ia64-portbld-freebsd9.0/libgcc'
  gmake[2]: *** [all-stage1-target-libgcc] Error 2
  gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build'
  gmake[1]: *** [stage1-bubble] Error 2
  gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build'
  gmake: *** [bootstrap-lean] Error 2
  *** Error code 1
 
  Interestingly, i386/* does not show any changes on the i386 side that
  look like adjustments along these lines.  Is this something ia64-specific?
  Any pointers, suggestions?
 
  I'm sure Anton will be happy to test any patches that one of us may come
  up with.
 
  Gerald
 
 
 You need to include config/ia64/t-ia64 in libgcc.

Just to add that I this bug to bugzilla a year ago:

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

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423


GCC on FreeBSD/ia64: No rule to make target .../libgcc/crtfastmath.o

2010-09-06 Thread Gerald Pfeifer
Anton reports that GCC fails to build on FreeBSD/ia64.  Any ideas
on what to try?  I assume it's just a small change that caused this
regression (this used to work some releases ago).

gmake[4]: Entering directory `/usr/ports/lang/gcc46/work/build/gcc'
gmake[4]: *** No rule to make target 
`/usr/ports/lang/gcc46/work/build/ia64-portbld-freebsd9.0/libgcc/crtfastmath.o',
 needed by `T_TARGET'.  Stop.
gmake[4]: *** Waiting for unfinished jobs
gmake[4]: Leaving directory `/usr/ports/lang/gcc46/work/build/gcc'
gmake[3]: *** [gcc-extra-parts] Error 2
gmake[3]: *** Waiting for unfinished jobs
gmake[3]: Leaving directory 
`/usr/ports/lang/gcc46/work/build/ia64-portbld-freebsd9.0/libgcc'
gmake[2]: *** [all-stage1-target-libgcc] Error 2
gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build'
gmake: *** [bootstrap-lean] Error 2
*** Error code 1

Interestingly, i386/* does not show any changes on the i386 side that
look like adjustments along these lines.  Is this something ia64-specific?
Any pointers, suggestions?

I'm sure Anton will be happy to test any patches that one of us may come
up with.

Gerald


Re: GCC on FreeBSD/ia64: No rule to make target .../libgcc/crtfastmath.o

2010-09-06 Thread H.J. Lu
On Mon, Sep 6, 2010 at 4:30 PM, Gerald Pfeifer ger...@pfeifer.com wrote:
 Anton reports that GCC fails to build on FreeBSD/ia64.  Any ideas
 on what to try?  I assume it's just a small change that caused this
 regression (this used to work some releases ago).

 gmake[4]: Entering directory `/usr/ports/lang/gcc46/work/build/gcc'
 gmake[4]: *** No rule to make target 
 `/usr/ports/lang/gcc46/work/build/ia64-portbld-freebsd9.0/libgcc/crtfastmath.o',
  needed by `T_TARGET'.  Stop.
 gmake[4]: *** Waiting for unfinished jobs
 gmake[4]: Leaving directory `/usr/ports/lang/gcc46/work/build/gcc'
 gmake[3]: *** [gcc-extra-parts] Error 2
 gmake[3]: *** Waiting for unfinished jobs
 gmake[3]: Leaving directory 
 `/usr/ports/lang/gcc46/work/build/ia64-portbld-freebsd9.0/libgcc'
 gmake[2]: *** [all-stage1-target-libgcc] Error 2
 gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build'
 gmake[1]: *** [stage1-bubble] Error 2
 gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build'
 gmake: *** [bootstrap-lean] Error 2
 *** Error code 1

 Interestingly, i386/* does not show any changes on the i386 side that
 look like adjustments along these lines.  Is this something ia64-specific?
 Any pointers, suggestions?

 I'm sure Anton will be happy to test any patches that one of us may come
 up with.

 Gerald


You need to include config/ia64/t-ia64 in libgcc.

-- 
H.J.