This bug is similar to #12974. The patch (id=5925) is fine but not enough in case the target has multilib. It also should be added INCLUDE nearby rule stmp-multilib. Like this: # Build multiple copies of libgcc.a, one for each target switch. stmp-multilib: $(LIBGCC_DEPS) $(MAKE) \ CFLAGS="$(CFLAGS) $(WARN_CFLAGS)" \ CONFIG_H="$(CONFIG_H)" \ + INCLUDES="$(INCLUDES)" \ MAKEOVERRIDES= \ -f libgcc.mk all $(STAMP) stmp-multilib
Can you send the patch to gcc-patches@gcc.gnu.org with a proper changelog?
Created attachment 7875 [details] Patch for gcc-3.4.3/gcc/Makefile.in This patch has already sent to gcc-patches@gcc.gnu.org.
This part of the Makefile.in has since been removed from 4.3.x and above. Do you know if this issue still exists?
This issue is about 3.4.x. It's reasonable to close as wontfix.
Yes, I close it.