avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #50811] using -Wl, -u, vfprintf -lprintf_min causes


From: Dave Hylands
Subject: [avr-libc-dev] [bug #50811] using -Wl, -u, vfprintf -lprintf_min causes program to grow a lot
Date: Mon, 17 Apr 2017 12:46:36 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

Follow-up Comment #3, bug #50811 (project avr-libc):

Using _Wl,-u,vfprintf is essentially forcing the symbol vfprintf to be
undefined and added to the program. This is what's causing your code size to
increase when not otherwise using vfprintf.

It isn't clear to me why that option should be required at all. You should
only need to add the -lprintf_min option and that will pull in vprintf, if its
used, and won't pull anything in if it isn't.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?50811>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]