https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976

--- Comment #217 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Peter Dyballa from comment #214)
> Created attachment 64938 [details]
> powerpc-apple-darwin9.8.0/libgcc/Makefile
> 
> The requested Makefile from <objectsdir>/powerpc-apple-darwin9.8.0/libgcc

that has the correct entries for 

md_unwind_def_header = no-unwind.h
md_unwind_header = no-unwind.h

and the rules to make the symlinks

```
# Create links to files specified in config.host.
LIBGCC_LINKS = enable-execute-stack.c \
               unwind.h md-unwind-def.h md-unwind-support.h \
               sfp-machine.h gthr-default.h

enable-execute-stack.c: $(srcdir)/$(enable_execute_stack)
        -$(LN_S) $< $@
unwind.h: $(srcdir)/$(unwind_header)
        -$(LN_S) $< $@
md-unwind-def.h: $(srcdir)/config/$(md_unwind_def_header)
        -$(LN_S) $< $@
md-unwind-support.h: $(srcdir)/config/$(md_unwind_header)
        -$(LN_S) $< $@
sfp-machine.h: $(srcdir)/config/$(sfp_machine_header)
        -$(LN_S) $< $@
gthr-default.h: $(srcdir)/$(thread_header)
        -$(LN_S) $< $@
```

what do you see if you edit that file (in powerpc-apple-darwin9/libgcc) and
remove the '-' from the begining of each of those commands .. and then try

$ make md-unwind-def.h

perhaps you have some bizzare issue with ln ?

what do you get for
`which ln` ?

Reply via email to