This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Greetings, > Because your Makefile has LDFLAGS += $(LDFLAGS)... which adds the > first LDFLAGS to itself. += means "append" so you don't need to > specify the previous value as well. Well, that was a huge oversight on my part and now I feel like an utter idiot. Removed the redundant $(LDFLAGS) and the warnings go away. Thank you very much for your assistance. Cheers, Orlando. On 09/28/2015 05:55 PM, DJ Delorie wrote: >> Passed the option to LD, attached is the output. You are indeed correct >> that collect2 is receiving the linker script twice: > > You'll have to grep through the spec files to find the --script= > entries and try to trace through them. You have a couple other things > duplicated as well. Might be a side-effect of the %rename. I don't > see an obvious bug there though, and I don't know if gcc has a spec > file debugger. > > At least you know why it's being redefined now, though :-) > >> I am not even sure why the linker is receiving the mmcu parameter twice. > > Because your Makefile has LDFLAGS += $(LDFLAGS)... which adds the > first LDFLAGS to itself. += means "append" so you don't need to > specify the previous value as well. >
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |