X-Original-To: alpine-aports@lists.alpinelinux.org Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) by lists.alpinelinux.org (Postfix) with ESMTP id A93DAF84EA9 for ; Mon, 11 Mar 2019 16:37:25 +0000 (UTC) Received: by sdaoden.eu (Postfix, from userid 1000) id 48B201604A; Mon, 11 Mar 2019 17:37:25 +0100 (CET) Date: Mon, 11 Mar 2019 17:38:00 +0100 From: Steffen Nurpmeso To: Leonardo Arena Cc: alpine-aports Subject: Re: [alpine-aports] [PATCH] community/s-nail: upgrade to v14.9.13.. Message-ID: <20190311163800.-pRmF%steffen@sdaoden.eu> In-Reply-To: <20190311160330.GfYQR%steffen@sdaoden.eu> References: <20190311160330.GfYQR%steffen@sdaoden.eu> Mail-Followup-To: Leonardo Arena , alpine-aports User-Agent: s-nail v14.9.13-dirty OpenPGP: id=EE19E1C1F2F7054F8D3954D8308964B51883A0DD; url=https://ftp.sdaoden.eu/steffen.asc; preference=signencrypt BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs. X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Steffen Nurpmeso wrote in <20190311160330.GfYQR%steffen@sdaoden.eu>: |Leonardo Arena wrote in : ||On Fri, Mar 8, 2019 at 5:35 PM Steffen Nurpmeso <[1]steffen@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@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---