Re: hardlink building issue in F26 armv7hl and i686

2017-02-15 Thread Jakub Jelinek
On Wed, Feb 15, 2017 at 04:33:19PM -0500, Stephen John Smoogen wrote: > On 14 February 2017 at 17:23, Jakub Jelinek wrote: > > On Mon, Feb 13, 2017 at 08:39:00PM +0100, Francisco J. Tsao Santin wrote: > >> Hi all, > >> > >> We have a problem with the hardlink package. The koji build made by Fedora

Re: hardlink building issue in F26 armv7hl and i686

2017-02-15 Thread Stephen John Smoogen
On 14 February 2017 at 17:23, Jakub Jelinek wrote: > On Mon, Feb 13, 2017 at 08:39:00PM +0100, Francisco J. Tsao Santin wrote: >> Hi all, >> >> We have a problem with the hardlink package. The koji build made by Fedora >> Release Engineering failed in armv7hl and i686 architectures. I saw the logs

Re: hardlink building issue in F26 armv7hl and i686

2017-02-15 Thread Francisco J. Tsao Santin
On Tue, 14 Feb 2017, Jakub Jelinek wrote: > On Tue, Feb 14, 2017 at 11:23:43PM +0100, Jakub Jelinek wrote: > > GNU89 vs. C99 inlining, that code is really old and apparently nobody > > touched it since it has been written. Yes, it seems most of the code was written a long time ago... > > > > As

Re: hardlink building issue in F26 armv7hl and i686

2017-02-15 Thread Francisco J. Tsao Santin
On Tue, 14 Feb 2017, Dan Horák wrote: > you are welcome, please file a gcc bug in Fedora bugzilla for this issue > Yep, I'll do it :) -- Francisco Javier Tsao Santín http://gattaca.es 1024D/71CF4D62 42 F1 53 35 EF 98 98 8A FC 6C 56 B3 4C A7 7D FB___

Re: hardlink building issue in F26 armv7hl and i686

2017-02-14 Thread Jakub Jelinek
On Tue, Feb 14, 2017 at 11:23:43PM +0100, Jakub Jelinek wrote: > GNU89 vs. C99 inlining, that code is really old and apparently nobody > touched it since it has been written. > > As everything is in a single file, either change all the inlines in the file > to static inline, or turn them into exte

Re: hardlink building issue in F26 armv7hl and i686

2017-02-14 Thread Dan Horák
On Tue, 14 Feb 2017 22:48:27 +0100 (CET) "Francisco J. Tsao Santin" wrote: > On Mon, 13 Feb 2017, Dan Horák wrote: > > > it could be a gcc7 bug on 32-bit arches, you can check by switching > > to -O1 or -O0 instead of the default -O2, or by dropping "inline" > > for stcmp() > > > > I tested wi

Re: hardlink building issue in F26 armv7hl and i686

2017-02-14 Thread Jakub Jelinek
On Mon, Feb 13, 2017 at 08:39:00PM +0100, Francisco J. Tsao Santin wrote: > Hi all, > > We have a problem with the hardlink package. The koji build made by Fedora > Release Engineering failed in armv7hl and i686 architectures. I saw the logs > and I tried a mock build in my own machine too, the pr

Re: hardlink building issue in F26 armv7hl and i686

2017-02-14 Thread Francisco J. Tsao Santin
On Mon, 13 Feb 2017, Dan Horák wrote: > it could be a gcc7 bug on 32-bit arches, you can check by switching to > -O1 or -O0 instead of the default -O2, or by dropping "inline" for > stcmp() > I tested with -01 and O0, and it solves the issue partially. If I drop the inlines, the program compile

Re: hardlink building issue in F26 armv7hl and i686

2017-02-13 Thread Adam Williamson
On Mon, 2017-02-13 at 20:39 +0100, Francisco J. Tsao Santin wrote: > Hi all, > > We have a problem with the hardlink package. The koji build made by Fedora > Release Engineering failed in armv7hl and i686 architectures. I saw the logs > and I tried a mock build in my own machine too, the problem i

Re: hardlink building issue in F26 armv7hl and i686

2017-02-13 Thread Adam Williamson
On Mon, 2017-02-13 at 11:48 -0800, Adam Williamson wrote: > On Mon, 2017-02-13 at 20:39 +0100, Francisco J. Tsao Santin wrote: > > Hi all, > > > > We have a problem with the hardlink package. The koji build made by Fedora > > Release Engineering failed in armv7hl and i686 architectures. I saw the

Re: hardlink building issue in F26 armv7hl and i686

2017-02-13 Thread Dan Horák
On Mon, 13 Feb 2017 20:39:00 +0100 (CET) "Francisco J. Tsao Santin" wrote: > Hi all, > > We have a problem with the hardlink package. The koji build made by > Fedora Release Engineering failed in armv7hl and i686 architectures. > I saw the logs and I tried a mock build in my own machine too, the

hardlink building issue in F26 armv7hl and i686

2017-02-13 Thread Francisco J. Tsao Santin
Hi all, We have a problem with the hardlink package. The koji build made by Fedora Release Engineering failed in armv7hl and i686 architectures. I saw the logs and I tried a mock build in my own machine too, the problem is always the same: + gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_F