Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] community/s-nail: upgrade to v14.9.13..

From: Steffen Nurpmeso <steffen_at_sdaoden.eu>
Date: Mon, 11 Mar 2019 17:38:00 +0100

Steffen Nurpmeso wrote in <20190311160330.GfYQR%steffen_at_sdaoden.eu>:
 |Leonardo Arena wrote in <CAGG_d8CK5FJP8mBX-Lhv9G6NCNX31Z5CaZO6y5RuDQ=qdW\
 |vh7Q_at_mail.gmail.com>:
 ||On Fri, Mar 8, 2019 at 5:35 PM Steffen Nurpmeso <[1]steffen_at_sdaoden.eu[/\
 ||1]> wrote:
 ...
 ||build fails for me with:
 |
 |I have never seen these errors:
 ...
 ||main.c:(.text.startup+0xbb): undefined reference to `su_state_set'
 ...

I see now, -Os; yes, we now require inline functions.
This is what happens with automatic heuristics; i for one write
INLINE when i want to have a function inlined, otherwise i do not.
I do not want to reorganize sources and move statics to after
their use cases in order to avoid crappy heuristics taking place
and inline functions by themselves. And even that will no longer
work with link time optimizations and whatever they are now doing.

But isn't that a compiler bug, i can use EXTRA_CFLAGS=-O3 which
sets -finline-functions according to [1] and works just fine?

  [1] http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html

--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Mar 11 2019 - 17:38:00 UTC