public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/40959]  New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.  Stop.
@ 2009-08-04  9:16 mexas at bristol dot ac dot uk
  2009-08-04 10:01 ` [Bug c/40959] " mexas at bristol dot ac dot uk
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: mexas at bristol dot ac dot uk @ 2009-08-04  9:16 UTC (permalink / raw)
  To: gcc-bugs

building gcc4.3.4 from ports on FreeBSD 8.0-BETA2 ia64 I get this error:

[skip]

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

Stop in /usr/ports/lang/gcc43.
*** Error code 1


-- 
           Summary: build fails - No rule to make target
                    `/usr/ports/lang/gcc43/work/build/ia64-portbld-
                    freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.
                    Stop.
           Product: gcc
           Version: 4.3.4
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mexas at bristol dot ac dot uk
 GCC build triplet: 4.3.4.20090726
  GCC host triplet: FreeBSD 8.0-BETA2 ia64


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


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

* [Bug c/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.  Stop.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
@ 2009-08-04 10:01 ` mexas at bristol dot ac dot uk
  2009-08-04 10:16 ` mexas at bristol dot ac dot uk
                   ` (22 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: mexas at bristol dot ac dot uk @ 2009-08-04 10:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from mexas at bristol dot ac dot uk  2009-08-04 10:00 -------
the same happens for gcc4.4.2:

[skip]

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

Stop in /usr/ports/lang/gcc44.
*** Error code 1


-- 

mexas at bristol dot ac dot uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|4.3.4                       |4.4.2


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


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

* [Bug c/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.  Stop.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
  2009-08-04 10:01 ` [Bug c/40959] " mexas at bristol dot ac dot uk
@ 2009-08-04 10:16 ` mexas at bristol dot ac dot uk
  2009-08-04 16:14 ` [Bug target/40959] " pinskia at gcc dot gnu dot org
                   ` (21 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: mexas at bristol dot ac dot uk @ 2009-08-04 10:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from mexas at bristol dot ac dot uk  2009-08-04 10:16 -------
and the same error happens with gcc4.5.0:

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

Stop in /usr/ports/lang/gcc45.
*** Error code 1


-- 

mexas at bristol dot ac dot uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mexas at bristol dot ac dot
                   |                            |uk
            Version|4.4.2                       |4.5.0


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


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

* [Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.  Stop.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
  2009-08-04 10:01 ` [Bug c/40959] " mexas at bristol dot ac dot uk
  2009-08-04 10:16 ` mexas at bristol dot ac dot uk
@ 2009-08-04 16:14 ` pinskia at gcc dot gnu dot org
  2009-08-11 11:15 ` mexas at bristol dot ac dot uk
                   ` (20 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-08-04 16:14 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal
          Component|c                           |target
 GCC target triplet|                            |ia64-portbld-freebsd8.0


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


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

* [Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.  Stop.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
                   ` (2 preceding siblings ...)
  2009-08-04 16:14 ` [Bug target/40959] " pinskia at gcc dot gnu dot org
@ 2009-08-11 11:15 ` mexas at bristol dot ac dot uk
  2009-08-26 22:58 ` sje at cup dot hp dot com
                   ` (19 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: mexas at bristol dot ac dot uk @ 2009-08-11 11:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from mexas at bristol dot ac dot uk  2009-08-11 11:14 -------
Some very basic analysis.
gcc43 builds on alpha, but not on ia64,
so I was trying to spot the difference.

# pwd
/usr/ports/lang/gcc43
# grep -C3 crtfastmath ./work/build/gcc/Makefile

# List of extra object files that should be compiled for this target machine.
# The rules for compiling them should be in the t-* file for the machine.
EXTRA_PARTS = crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o

so I had a search for t-* files on alpha and ia64, and it seems
some t-* files are missing from ia64:

#################
on alpha
#################

# uname -srm
FreeBSD 6.4-STABLE alpha
# pwd
/usr/ports/lang/gcc43
# find . -name "t-crt*"|grep alpha
./work/gcc-4.3-20090726/gcc/config/alpha/t-crtfm
./work/gcc-4.3-20090726/libgcc/config/alpha/t-crtfm
# 

#################
on ia64
#################

# uname -srm
FreeBSD 8.0-BETA2 ia64
# pwd
/usr/ports/lang/gcc43
# find . -name "t-crt*" | grep ia64
#

so I copied the above 2 t-crtfm files from alpha to ia64
config directory and substituted "alpha" for "ia64":

# cat ./work/gcc-4.3-20090726/gcc/config/ia64/t-crtfm
EXTRA_PARTS += crtfastmath.o

$(T)crtfastmath.o: $(srcdir)/config/ia64/crtfastmath.c $(GCC_PASSES)
        $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -frandom-seed=gcc-crtfastmath -c \
                -o $(T)crtfastmath.o $(srcdir)/config/ia64/crtfastmath.c

# cat ./work/gcc-4.3-20090726/libgcc/config/ia64/t-crtfm
# FIXME drow/20061228 - I have preserved this -frandom-seed option
# while migrating this rule from the GCC directory, but I do not
# know why it is necessary if no other crt file uses it.
crtfastmath.o: $(gcc_srcdir)/config/ia64/crtfastmath.c
        $(gcc_compile) -frandom-seed=gcc-crtfastmath -c \
                $(gcc_srcdir)/config/ia64/crtfastmath.c
#

But the error is still there. 

gmake[4]: *** No rule to make target
`/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o',
needed by `T_TARGET'.  Stop.


-- 


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


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

* [Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.  Stop.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
                   ` (3 preceding siblings ...)
  2009-08-11 11:15 ` mexas at bristol dot ac dot uk
@ 2009-08-26 22:58 ` sje at cup dot hp dot com
  2009-09-26 19:53 ` pinskia at gcc dot gnu dot org
                   ` (18 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: sje at cup dot hp dot com @ 2009-08-26 22:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from sje at cup dot hp dot com  2009-08-26 22:58 -------
In addition to copying the t-* files over, you also need to modify config.gcc.

If you look at the 'alpha*-*-freebsd*' entry in that file you will see where
tmake_file is set to a list of files including t-crtfm.  The 'ia46*-*-freebsd*'
entry needs the same thing.


-- 

sje at cup dot hp dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sje at cup dot hp dot com


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


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

* [Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.  Stop.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
                   ` (4 preceding siblings ...)
  2009-08-26 22:58 ` sje at cup dot hp dot com
@ 2009-09-26 19:53 ` pinskia at gcc dot gnu dot org
  2009-11-16  9:50 ` mexas at bristol dot ac dot uk
                   ` (17 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-09-26 19:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2009-09-26 19:53 -------
the target for crtfastmath.o should come from libgcc/config/ia64/t-ia64.
Does this patch fix it:
Index: libgcc/config.host
===================================================================
--- libgcc/config.host  (revision 152205)
+++ libgcc/config.host  (working copy)
@@ -342,6 +342,8 @@ ia64*-*-elf*)
        tmake_file="ia64/t-ia64"
        ;;
 ia64*-*-freebsd*)
+       extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
+       tmake_file="ia64/t-ia64"
        ;;
 ia64*-*-linux*)
        extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"


-- 


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


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

* [Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.  Stop.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
                   ` (5 preceding siblings ...)
  2009-09-26 19:53 ` pinskia at gcc dot gnu dot org
@ 2009-11-16  9:50 ` mexas at bristol dot ac dot uk
  2009-11-16 18:14 ` sje at cup dot hp dot com
                   ` (16 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: mexas at bristol dot ac dot uk @ 2009-11-16  9:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from mexas at bristol dot ac dot uk  2009-11-16 09:50 -------
The suggested patch seems to fail.
Perhaps it's out of sync now.


# patch ./libgcc/config.host patch 
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: libgcc/config.host
|===================================================================
|--- libgcc/config.host  (revision 152205)
|+++ libgcc/config.host  (working copy)
--------------------------
Patching file ./libgcc/config.host using Plan A...
Hunk #1 failed at 342.
1 out of 1 hunks failed--saving rejects to ./libgcc/config.host.rej
Hmm...  Ignoring the trailing garbage.
done
#


-- 

mexas at bristol dot ac dot uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   GCC host triplet|FreeBSD 8.0-BETA2 ia64      |FreeBSD 9.0-current ia64


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


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

* [Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.  Stop.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
                   ` (6 preceding siblings ...)
  2009-11-16  9:50 ` mexas at bristol dot ac dot uk
@ 2009-11-16 18:14 ` sje at cup dot hp dot com
  2009-11-18 12:31 ` mexas at bristol dot ac dot uk
                   ` (15 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: sje at cup dot hp dot com @ 2009-11-16 18:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from sje at cup dot hp dot com  2009-11-16 18:14 -------
The patch worked for me after changing some leading spaces to tabs  If you
grabbed it with a cut-n-paste the patch may have had spaces in it instead of
tabs (or perhaps it was put in the report that way).  You can either change the
spaces to tabs by hand and use patch or you could just apply the patch by hand,
there is only one instance of ia64*freebsd in the libgcc/config.host file and
all you need to do is add the two new lines to the file at that location.


-- 


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


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

* [Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.  Stop.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
                   ` (7 preceding siblings ...)
  2009-11-16 18:14 ` sje at cup dot hp dot com
@ 2009-11-18 12:31 ` mexas at bristol dot ac dot uk
  2009-11-18 12:50 ` mexas at bristol dot ac dot uk
                   ` (14 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: mexas at bristol dot ac dot uk @ 2009-11-18 12:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from mexas at bristol dot ac dot uk  2009-11-18 12:30 -------
this seems to help to pass that error, now I'm stopped with this:

[skip]

# @multilib_dir@ is not really necessary, but sometimes it has
# more uses than just a directory name.
/bin/sh ../.././../gcc-4.4-20091110/libgcc/../mkinstalldirs .
/usr/ports/lang/gcc44/work/build/./gcc/xgcc
-B/usr/ports/lang/gcc44/work/build/./gcc/
-B/usr/local/ia64-portbld-freebsd9.0/bin/
-B/usr/local/ia64-portbld-freebsd9.0/lib/ -isystem
/usr/local/ia64-portbld-freebsd9.0/include -isystem
/usr/local/ia64-portbld-freebsd9.0/sys-include -O2  -g -O2 -pipe
-I/usr/local/include -fno-strict-aliasing -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition 
-isystem ./include   -fPIC -pthread -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -shared -nodefaultlibs -Wl,--soname=libgcc_s.so.1
-Wl,--version-script=libgcc.map -o ./libgcc_s.so.1.tmp -g -O2 -pipe
-I/usr/local/include -fno-strict-aliasing -B./ __divxf3_s.o __divdf3_s.o
__divsf3_s.o __divdi3_s.o __moddi3_s.o __udivdi3_s.o __umoddi3_s.o __divsi3_s.o
__modsi3_s.o __udivsi3_s.o __umodsi3_s.o __save_stack_nonlocal_s.o
__nonlocal_goto_s.o __restore_stack_nonlocal_s.o __trampoline_s.o _fixtfdi_s.o
_fixunstfdi_s.o _floatditf_s.o _muldi3_s.o _negdi2_s.o _lshrdi3_s.o
_ashldi3_s.o _ashrdi3_s.o _cmpdi2_s.o _ucmpdi2_s.o _clear_cache_s.o
_enable_execute_stack_s.o _trampoline_s.o __main_s.o _absvsi2_s.o _absvdi2_s.o
_addvsi3_s.o _addvdi3_s.o _subvsi3_s.o _subvdi3_s.o _mulvsi3_s.o _mulvdi3_s.o
_negvsi2_s.o _negvdi2_s.o _ctors_s.o _ffssi2_s.o _ffsdi2_s.o _clz_s.o
_clzsi2_s.o _clzdi2_s.o _ctzsi2_s.o _ctzdi2_s.o _popcount_tab_s.o
_popcountsi2_s.o _popcountdi2_s.o _paritysi2_s.o _paritydi2_s.o _powisf2_s.o
_powidf2_s.o _powixf2_s.o _powitf2_s.o _mulsc3_s.o _muldc3_s.o _mulxc3_s.o
_multc3_s.o _divsc3_s.o _divdc3_s.o _divxc3_s.o _divtc3_s.o _bswapsi2_s.o
_bswapdi2_s.o _fixunssfsi_s.o _fixunsdfsi_s.o _fixunsxfsi_s.o _fixsfdi_s.o
_fixdfdi_s.o _fixxfdi_s.o _fixunssfdi_s.o _fixunsdfdi_s.o _fixunsxfdi_s.o
_floatdisf_s.o _floatdidf_s.o _floatdixf_s.o _floatundisf_s.o _floatundidf_s.o
_floatundixf_s.o _floatunditf_s.o _divdi3_s.o _moddi3_s.o _udivdi3_s.o
_umoddi3_s.o _udiv_w_sdiv_s.o _udivmoddi4_s.o unwind-ia64_s.o unwind-sjlj_s.o
unwind-c_s.o emutls_s.o -lc && rm -f ./libgcc_s.so && if [ -f ./libgcc_s.so.1
]; then mv -f ./libgcc_s.so.1 ./libgcc_s.so.1.backup; else true; fi && mv
./libgcc_s.so.1.tmp ./libgcc_s.so.1 && ln -s libgcc_s.so.1 ./libgcc_s.so
unwind-ia64_s.o(.text+0x1b62): In function `_Unwind_FindEnclosingFunction':
../.././../gcc-4.4-20091110/libgcc/../gcc/config/ia64/unwind-ia64.c:1736:
undefined reference to `_Unwind_FindTableEntry'
unwind-ia64_s.o(.text+0x1e32): In function `uw_frame_state_for':
../.././../gcc-4.4-20091110/libgcc/../gcc/config/ia64/unwind-ia64.c:1779:
undefined reference to `_Unwind_FindTableEntry'
/usr/bin/ld: ./libgcc_s.so.1.tmp: hidden symbol `_Unwind_FindTableEntry' isn't
defined
collect2: ld returned 1 exit status
gmake[3]: *** [libgcc_s.so] Error 1
gmake[3]: Leaving directory
`/usr/ports/lang/gcc44/work/build/ia64-portbld-freebsd9.0/libgcc'
gmake[2]: *** [all-stage1-target-libgcc] Error 2
gmake[2]: Leaving directory `/usr/ports/lang/gcc44/work/build'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/usr/ports/lang/gcc44/work/build'
gmake: *** [bootstrap-lean] Error 2
*** Error code 1

Stop in /usr/ports/lang/gcc44.
*** Error code 1

Stop in /usr/ports/lang/gcc44.
TZAV# 


-- 


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


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

* [Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.  Stop.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
                   ` (8 preceding siblings ...)
  2009-11-18 12:31 ` mexas at bristol dot ac dot uk
@ 2009-11-18 12:50 ` mexas at bristol dot ac dot uk
  2009-11-20 16:59 ` sje at cup dot hp dot com
                   ` (13 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: mexas at bristol dot ac dot uk @ 2009-11-18 12:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from mexas at bristol dot ac dot uk  2009-11-18 12:50 -------
and the same for gcc45:

[skip]

unwind-ia64_s.o(.text+0x30b2): In function `uw_frame_state_for':
../.././../gcc-4.5-20091112/libgcc/../gcc/config/ia64/unwind-ia64.c:1788:
undefined reference to `_Unwind_FindTableEntry'
unwind-ia64_s.o(.text+0x7632): In function `_Unwind_FindEnclosingFunction':
../.././../gcc-4.5-20091112/libgcc/../gcc/config/ia64/unwind-ia64.c:1745:
undefined reference to `_Unwind_FindTableEntry'
/usr/bin/ld: ./libgcc_s.so.1.tmp: hidden symbol `_Unwind_FindTableEntry' isn't
defined
collect2: ld returned 1 exit status
gmake[3]: *** [libgcc_s.so] Error 1
gmake[3]: Leaving directory
`/usr/ports/lang/gcc45/work/build/ia64-portbld-freebsd9.0/libgcc'
gmake[2]: *** [all-stage1-target-libgcc] Error 2
gmake[2]: Leaving directory `/usr/ports/lang/gcc45/work/build'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/usr/ports/lang/gcc45/work/build'
gmake: *** [bootstrap-lean] Error 2
*** Error code 1


-- 


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


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

* [Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.  Stop.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
                   ` (9 preceding siblings ...)
  2009-11-18 12:50 ` mexas at bristol dot ac dot uk
@ 2009-11-20 16:59 ` sje at cup dot hp dot com
  2009-11-20 18:10 ` kargl at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: sje at cup dot hp dot com @ 2009-11-20 16:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from sje at cup dot hp dot com  2009-11-20 16:59 -------
Does freebsd use glibc?  Does freebsd have a system libunwind?  I am going to
guess yes to the first question and no to the second in which case you need to
edit gcc/config.gcc and modify the 'ia64*-*-freebsd*' entry to include the
t-libunwind-elf and ia64/t-glibc-libunwind makefile fragments to the tm_file
list.  That is what 'ia64*-*-linux* does when 'with_system_libunwind' is set to
no.


-- 


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


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

* [Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.  Stop.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
                   ` (10 preceding siblings ...)
  2009-11-20 16:59 ` sje at cup dot hp dot com
@ 2009-11-20 18:10 ` kargl at gcc dot gnu dot org
  2009-11-21 11:47 ` mexas at bristol dot ac dot uk
                   ` (11 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: kargl at gcc dot gnu dot org @ 2009-11-20 18:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from kargl at gcc dot gnu dot org  2009-11-20 18:10 -------
(In reply to comment #10)
> Does freebsd use glibc?  Does freebsd have a system libunwind?  I am going to
> guess yes to the first question and no to the second in which case you need to
> edit gcc/config.gcc and modify the 'ia64*-*-freebsd*' entry to include the
> t-libunwind-elf and ia64/t-glibc-libunwind makefile fragments to the tm_file
> list.  That is what 'ia64*-*-linux* does when 'with_system_libunwind' is set to
> no.
> 

FreeBSD does not use glibc; never has and never will.
FreeBSD does not have a libunwind.


-- 


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


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

* [Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.  Stop.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
                   ` (11 preceding siblings ...)
  2009-11-20 18:10 ` kargl at gcc dot gnu dot org
@ 2009-11-21 11:47 ` mexas at bristol dot ac dot uk
  2009-11-23 15:46 ` sje at cup dot hp dot com
                   ` (10 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: mexas at bristol dot ac dot uk @ 2009-11-21 11:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from mexas at bristol dot ac dot uk  2009-11-21 11:47 -------
I see..
So what is the way forward?


-- 


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


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

* [Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.  Stop.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
                   ` (12 preceding siblings ...)
  2009-11-21 11:47 ` mexas at bristol dot ac dot uk
@ 2009-11-23 15:46 ` sje at cup dot hp dot com
  2009-11-23 16:12 ` mexas at bristol dot ac dot uk
                   ` (9 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: sje at cup dot hp dot com @ 2009-11-23 15:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from sje at cup dot hp dot com  2009-11-23 15:43 -------
I think you will need to create a fde-freebsd.c file in gcc/config/ia64 to
define Unwind_FindTableEntry.  See fde-glibc.c and fde-vms.c for examples.


-- 


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


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

* [Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.  Stop.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
                   ` (13 preceding siblings ...)
  2009-11-23 15:46 ` sje at cup dot hp dot com
@ 2009-11-23 16:12 ` mexas at bristol dot ac dot uk
  2009-11-23 21:47 ` mexas at bristol dot ac dot uk
                   ` (8 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: mexas at bristol dot ac dot uk @ 2009-11-23 16:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from mexas at bristol dot ac dot uk  2009-11-23 16:12 -------
can I add a FBSD ia64 developer email to the CC list (xcllnt@mac.com)?
I tried to do this before, but was refused.

I'm just reporting the bug. I've neigher skill not time
to deal with this.


-- 


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


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

* [Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.  Stop.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
                   ` (14 preceding siblings ...)
  2009-11-23 16:12 ` mexas at bristol dot ac dot uk
@ 2009-11-23 21:47 ` mexas at bristol dot ac dot uk
  2009-12-17 23:00 ` mexas at bristol dot ac dot uk
                   ` (7 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: mexas at bristol dot ac dot uk @ 2009-11-23 21:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from mexas at bristol dot ac dot uk  2009-11-23 21:47 -------
> Hi Marcel, sorry to bother you with this again.
> Are you happy to be on my Cc list for this "bug"?

Sure. sje@ doesn't quite know what he's talking about
because he doesn't know FreeBSD.

See also below.

> ------- Comment #13 from sje at cup dot hp dot com  2009-11-23 15:43 -------
> I think you will need to create a fde-freebsd.c file in gcc/config/ia64 to
> define Unwind_FindTableEntry.  See fde-glibc.c and fde-vms.c for examples.

_Unwind_FindTableEntry is defined in libc.
FYI,

--
Marcel Moolenaar
xcllnt@mac.com


-- 


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


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

* [Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.  Stop.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
                   ` (15 preceding siblings ...)
  2009-11-23 21:47 ` mexas at bristol dot ac dot uk
@ 2009-12-17 23:00 ` mexas at bristol dot ac dot uk
  2010-09-07 23:19 ` gerald at pfeifer dot com
                   ` (6 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: mexas at bristol dot ac dot uk @ 2009-12-17 23:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from mexas at bristol dot ac dot uk  2009-12-17 23:00 -------
I just checked that gcc4.2.5 installs fine on ia64 FreeBSD 9.0 current, but
all newer versions fail to build. Is it possible/feasible to debug this
by comparing gcc42 and gcc43? Unfortunately it's beyond my skills, but
I'll be happy to try any patch or something.


-- 


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


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

* [Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.  Stop.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
                   ` (16 preceding siblings ...)
  2009-12-17 23:00 ` mexas at bristol dot ac dot uk
@ 2010-09-07 23:19 ` gerald at pfeifer dot com
  2010-09-08  0:32 ` hjl dot tools at gmail dot com
                   ` (5 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: gerald at pfeifer dot com @ 2010-09-07 23:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from gerald at pfeifer dot com  2010-09-07 23:19 -------
(In reply to comment #9)
> unwind-ia64_s.o(.text+0x30b2): In function `uw_frame_state_for':
> ../.././../gcc-4.5-20091112/libgcc/../gcc/config/ia64/unwind-ia64.c:1788:
> undefined reference to `_Unwind_FindTableEntry'
> unwind-ia64_s.o(.text+0x7632): In function `_Unwind_FindEnclosingFunction':
> ../.././../gcc-4.5-20091112/libgcc/../gcc/config/ia64/unwind-ia64.c:1745:
> undefined reference to `_Unwind_FindTableEntry'
> /usr/bin/ld: ./libgcc_s.so.1.tmp: hidden symbol `_Unwind_FindTableEntry' isn't
> defined
> collect2: ld returned 1 exit status
> gmake[3]: *** [libgcc_s.so] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/lang/gcc45/work/build/ia64-portbld-freebsd9.0/libgcc'
> gmake[2]: *** [all-stage1-target-libgcc] Error 2

After making the change to libgcc/config.host that is also described in
comment #5 I get the same.

libc indeed does feature  _Unwind_FindTableEntry() as I can easily verify
with the following program:

  void _Unwind_FindTableEntry();
  int main() { _Unwind_FindTableEntry(); }

Just, why do we then get this link failure?  Adding -v I see that 
/lib/libc.so.7 is explicitly part of the collect2 invocation.


-- 

gerald at pfeifer dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-09-07 23:19:36
               date|                            |


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


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

* [Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.  Stop.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
                   ` (17 preceding siblings ...)
  2010-09-07 23:19 ` gerald at pfeifer dot com
@ 2010-09-08  0:32 ` hjl dot tools at gmail dot com
  2010-09-09 21:59 ` [Bug target/40959] [4.3/4.4/4.5/4.6 regression] FreeBSD/ia64 build fails: No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET' gerald at pfeifer dot com
                   ` (4 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-09-08  0:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from hjl dot tools at gmail dot com  2010-09-08 00:32 -------
(In reply to comment #17)
> (In reply to comment #9)
> > unwind-ia64_s.o(.text+0x30b2): In function `uw_frame_state_for':
> > ../.././../gcc-4.5-20091112/libgcc/../gcc/config/ia64/unwind-ia64.c:1788:
> > undefined reference to `_Unwind_FindTableEntry'
> > unwind-ia64_s.o(.text+0x7632): In function `_Unwind_FindEnclosingFunction':
> > ../.././../gcc-4.5-20091112/libgcc/../gcc/config/ia64/unwind-ia64.c:1745:
> > undefined reference to `_Unwind_FindTableEntry'
> > /usr/bin/ld: ./libgcc_s.so.1.tmp: hidden symbol `_Unwind_FindTableEntry' 
isn't
> > defined
> > collect2: ld returned 1 exit status
> > gmake[3]: *** [libgcc_s.so] Error 1
> > gmake[3]: Leaving directory
> > `/usr/ports/lang/gcc45/work/build/ia64-portbld-freebsd9.0/libgcc'
> > gmake[2]: *** [all-stage1-target-libgcc] Error 2
> 
> After making the change to libgcc/config.host that is also described in
> comment #5 I get the same.
> 
> libc indeed does feature  _Unwind_FindTableEntry() as I can easily verify
> with the following program:
> 
>   void _Unwind_FindTableEntry();
>   int main() { _Unwind_FindTableEntry(); }
> 
> Just, why do we then get this link failure?  Adding -v I see that 
> /lib/libc.so.7 is explicitly part of the collect2 invocation.
> 

Because _Unwind_FindTableEntry is marked hidden.


-- 


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


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

* [Bug target/40959] [4.3/4.4/4.5/4.6 regression] FreeBSD/ia64 build fails: No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
                   ` (18 preceding siblings ...)
  2010-09-08  0:32 ` hjl dot tools at gmail dot com
@ 2010-09-09 21:59 ` gerald at pfeifer dot com
  2010-09-09 22:20 ` gerald at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: gerald at pfeifer dot com @ 2010-09-09 21:59 UTC (permalink / raw)
  To: gcc-bugs



-- 

gerald at pfeifer dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |gerald at pfeifer dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2010-09-07 23:19:36         |2010-09-09 21:58:47
               date|                            |
            Summary|build fails - No rule to    |[4.3/4.4/4.5/4.6 regression]
                   |make target                 |FreeBSD/ia64 build fails: No
                   |`/usr/ports/lang/gcc43/work/|rule to make target
                   |build/ia64-portbld-         |`/usr/ports/lang/gcc43/work/
                   |freebsd8.0/libgcc/crtfastmat|build/ia64-portbld-
                   |h.o', needed by `T_TARGET'. |freebsd8.0/libgcc/crtfastmat
                   |Stop.                       |h.o', needed by `T_TARGET'.


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


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

* [Bug target/40959] [4.3/4.4/4.5/4.6 regression] FreeBSD/ia64 build fails: No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
                   ` (19 preceding siblings ...)
  2010-09-09 21:59 ` [Bug target/40959] [4.3/4.4/4.5/4.6 regression] FreeBSD/ia64 build fails: No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET' gerald at pfeifer dot com
@ 2010-09-09 22:20 ` gerald at gcc dot gnu dot org
  2010-09-09 23:18 ` gerald at pfeifer dot com
                   ` (2 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: gerald at gcc dot gnu dot org @ 2010-09-09 22:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from gerald at gcc dot gnu dot org  2010-09-09 22:19 -------
Subject: Bug 40959

Author: gerald
Date: Thu Sep  9 22:19:33 2010
New Revision: 164132

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164132
Log:
2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
            Andrew Pinski  <pinskia@gmail.com>

        PR target/40959
        * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.

Modified:
    trunk/libgcc/ChangeLog
    trunk/libgcc/config.host


-- 


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


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

* [Bug target/40959] [4.3/4.4/4.5/4.6 regression] FreeBSD/ia64 build fails: No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
                   ` (20 preceding siblings ...)
  2010-09-09 22:20 ` gerald at gcc dot gnu dot org
@ 2010-09-09 23:18 ` gerald at pfeifer dot com
  2010-09-12  3:27 ` gerald at gcc dot gnu dot org
  2010-09-15  9:21 ` mexas at bristol dot ac dot uk
  23 siblings, 0 replies; 25+ messages in thread
From: gerald at pfeifer dot com @ 2010-09-09 23:18 UTC (permalink / raw)
  To: gcc-bugs



-- 

gerald at pfeifer dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.3.5 4.4.4 4.5.1
      Known to work|                            |4.6.0
   Target Milestone|---                         |4.6.0


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


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

* [Bug target/40959] [4.3/4.4/4.5/4.6 regression] FreeBSD/ia64 build fails: No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
                   ` (21 preceding siblings ...)
  2010-09-09 23:18 ` gerald at pfeifer dot com
@ 2010-09-12  3:27 ` gerald at gcc dot gnu dot org
  2010-09-15  9:21 ` mexas at bristol dot ac dot uk
  23 siblings, 0 replies; 25+ messages in thread
From: gerald at gcc dot gnu dot org @ 2010-09-12  3:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #20 from gerald at gcc dot gnu dot org  2010-09-12 03:27 -------
Subject: Bug 40959

Author: gerald
Date: Sun Sep 12 03:27:09 2010
New Revision: 164226

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164226
Log:
        PR target/40959 
        * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.

Modified:
    branches/gcc-4_5-branch/libgcc/ChangeLog
    branches/gcc-4_5-branch/libgcc/config.host


-- 


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


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

* [Bug target/40959] [4.3/4.4/4.5/4.6 regression] FreeBSD/ia64 build fails: No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.
  2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
                   ` (22 preceding siblings ...)
  2010-09-12  3:27 ` gerald at gcc dot gnu dot org
@ 2010-09-15  9:21 ` mexas at bristol dot ac dot uk
  23 siblings, 0 replies; 25+ messages in thread
From: mexas at bristol dot ac dot uk @ 2010-09-15  9:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #21 from mexas at bristol dot ac dot uk  2010-09-15 09:20 -------
Just to confirm that 45 now builds on ia64: gcc-4.5.2.20100909

The error for 46 is this:

*skip*

gmake[4]: Entering directory
`/usr/ports/lang/gcc46/work/build/ia64-portbld-freebsd9.0/libgfortran'
if [ -z "" ]; then \
          true; \
        else \
          rootpre=`${PWDCMD-pwd}`/; export rootpre; \
          srcrootpre=`cd ../.././../gcc-4.6-20100911/libgfortran;
${PWDCMD-pwd}`/; export srcrootpre; \
          lib=`echo "${rootpre}" | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
          compiler="/usr/ports/lang/gcc46/work/build/./gcc/xgcc
-B/usr/ports/lang/gcc46/work/build/./gcc/
-B/usr/local/ia64-portbld-freebsd9.0/bi /
-B/usr/local/ia64-portbld-freebsd9.0/lib/ -isystem
/usr/local/ia64-portbld-freebsd9.0/include -isystem
/usr/local/ia64-portbld-freebsd9.0/sys-i clude   "; \
          for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
            dir=`echo $i | sed -e 's/;.*$//'`; \
            if [ "${dir}" = "." ]; then \
              true; \
            else \
              if [ -d ../${dir}/${lib} ]; then \
                flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
                if (cd ../${dir}/${lib}; gmake  \
                                CFLAGS="-g -O1 -I/usr/local/include ${flags}" \
                                CCASFLAGS=" ${flags}" \
                                FCFLAGS="-g -O2 ${flags}" \
                                FFLAGS=" ${flags}" \
                                ADAFLAGS=" ${flags}" \
                                prefix="/usr/local" \
                                exec_prefix="/usr/local" \
                                GCJFLAGS=" ${flags}" \
                                CXXFLAGS="-g -O1 -I/usr/local/include ${flags}"
\
                                LIBCFLAGS="-g -O1 -I/usr/local/include
${flags}" \
                                LIBCXXFLAGS="-g -O1 -I/usr/local/include
-fno-implicit-templates ${flags}" \
                                LDFLAGS=" ${flags}" \
                                MULTIFLAGS="${flags}" \
                                DESTDIR="" \
                                INSTALL="/usr/bin/install -c -o root -g wheel"
\
                                INSTALL_DATA="install  -o root -g wheel -m 444"
\
                                INSTALL_PROGRAM="install  -s -o root -g wheel
-m 555" \
                                INSTALL_SCRIPT="install  -o root -g wheel -m
555" \
                                all); then \
                  true; \
                else \
                  exit 1; \
                fi; \
              else true; \
              fi; \
            fi; \
          done; \
        fi
gmake[4]: Leaving directory
`/usr/ports/lang/gcc46/work/build/ia64-portbld-freebsd9.0/libgfortran'
gmake[3]: Leaving directory
`/usr/ports/lang/gcc46/work/build/ia64-portbld-freebsd9.0/libgfortran'
gmake[2]: Leaving directory
`/usr/ports/lang/gcc46/work/build/ia64-portbld-freebsd9.0/libgfortran'
gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build'
gmake: *** [bootstrap-lean] Error 2
*** Error code 1

Stop in /usr/ports/lang/gcc46.
*** Error code 1


-- 


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


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

end of thread, other threads:[~2010-09-15  9:21 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-04  9:16 [Bug c/40959] New: build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop mexas at bristol dot ac dot uk
2009-08-04 10:01 ` [Bug c/40959] " mexas at bristol dot ac dot uk
2009-08-04 10:16 ` mexas at bristol dot ac dot uk
2009-08-04 16:14 ` [Bug target/40959] " pinskia at gcc dot gnu dot org
2009-08-11 11:15 ` mexas at bristol dot ac dot uk
2009-08-26 22:58 ` sje at cup dot hp dot com
2009-09-26 19:53 ` pinskia at gcc dot gnu dot org
2009-11-16  9:50 ` mexas at bristol dot ac dot uk
2009-11-16 18:14 ` sje at cup dot hp dot com
2009-11-18 12:31 ` mexas at bristol dot ac dot uk
2009-11-18 12:50 ` mexas at bristol dot ac dot uk
2009-11-20 16:59 ` sje at cup dot hp dot com
2009-11-20 18:10 ` kargl at gcc dot gnu dot org
2009-11-21 11:47 ` mexas at bristol dot ac dot uk
2009-11-23 15:46 ` sje at cup dot hp dot com
2009-11-23 16:12 ` mexas at bristol dot ac dot uk
2009-11-23 21:47 ` mexas at bristol dot ac dot uk
2009-12-17 23:00 ` mexas at bristol dot ac dot uk
2010-09-07 23:19 ` gerald at pfeifer dot com
2010-09-08  0:32 ` hjl dot tools at gmail dot com
2010-09-09 21:59 ` [Bug target/40959] [4.3/4.4/4.5/4.6 regression] FreeBSD/ia64 build fails: No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET' gerald at pfeifer dot com
2010-09-09 22:20 ` gerald at gcc dot gnu dot org
2010-09-09 23:18 ` gerald at pfeifer dot com
2010-09-12  3:27 ` gerald at gcc dot gnu dot org
2010-09-15  9:21 ` mexas at bristol dot ac dot uk

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