All of lore.kernel.org
 help / color / mirror / Atom feed
* binutuils-native from master fails with GCC 4.9 on the buld host
@ 2014-04-14  9:37 Boszormenyi Zoltan
  2014-04-19  2:43   ` Otavio Salvador
  0 siblings, 1 reply; 3+ messages in thread
From: Boszormenyi Zoltan @ 2014-04-14  9:37 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

Hi,

one of my build machines has Fedora 21 Rawhide with GCC 4.9.
I tried to build an FSL image and now binutils-native fails to compile:

| In file included from 
/home/zozo/fsl-community-bsp-2/build-master/tmp/work/x86_64-linux/binutils-native/2.24-r0/binutils-2.24/gas/as.h:95:0,
|                  from 
/home/zozo/fsl-community-bsp-2/build-master/tmp/work/x86_64-linux/binutils-native/2.24-r0/binutils-2.24/gas/subsegs.c:25:
| 
/home/zozo/fsl-community-bsp-2/build-master/tmp/work/x86_64-linux/binutils-native/2.24-r0/binutils-2.24/gas/subsegs.c: 
In function 'subseg_change':
| ../bfd/bfd.h:304:75: error: right-hand operand of comma expression has no effect 
[-Werror=unused-value]
|  #define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),TRUE)
| ^
| 
/home/zozo/fsl-community-bsp-2/build-master/tmp/work/x86_64-linux/binutils-native/2.24-r0/binutils-2.24/gas/subsegs.c:70:7: 
note: in expansion of macro 'bfd_set_section_userdata'
|        bfd_set_section_userdata (stdoutput, seg, seginfo);
|        ^
| 
/home/zozo/fsl-community-bsp-2/build-master/tmp/work/x86_64-linux/binutils-native/2.24-r0/binutils-2.24/gas/subsegs.c: 
In function 'subseg_get':
| ../bfd/bfd.h:304:75: error: right-hand operand of comma expression has no effect 
[-Werror=unused-value]
|  #define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),TRUE)
| ^
| 
/home/zozo/fsl-community-bsp-2/build-master/tmp/work/x86_64-linux/binutils-native/2.24-r0/binutils-2.24/gas/subsegs.c:172:7: 
note: in expansion of macro 'bfd_set_section_userdata'
|        bfd_set_section_userdata (stdoutput, secptr, seginfo);
|        ^
| gcc  -DHAVE_CONFIG_H -I. 
-I/home/zozo/fsl-community-bsp-2/build-master/tmp/work/x86_64-linux/binutils-native/2.24-r0/binutils-2.24/gas 
-I. 
-I/home/zozo/fsl-community-bsp-2/build-master/tmp/work/x86_64-linux/binutils-native/2.24-r0/binutils-2.24/gas 
-I../bfd 
-I/home/zozo/fsl-community-bsp-2/build-master/tmp/work/x86_64-linux/binutils-native/2.24-r0/binutils-2.24/gas/config 
-I/home/zozo/fsl-community-bsp-2/build-master/tmp/work/x86_64-linux/binutils-native/2.24-r0/binutils-2.24/gas/../include 
-I/home/zozo/fsl-community-bsp-2/build-master/tmp/work/x86_64-linux/binutils-native/2.24-r0/binutils-2.24/gas/.. 
-I/home/zozo/fsl-community-bsp-2/build-master/tmp/work/x86_64-linux/binutils-native/2.24-r0/binutils-2.24/gas/../bfd 
-DLOCALEDIR="\"/home/zozo/fsl-community-bsp-2/build-master/tmp/sysroots/x86_64-linux/usr/share/locale\"" 
-isystem/home/zozo/fsl-community-bsp-2/build-master/tmp/sysroots/x86_64-linux/usr/include 
-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror 
-isystem/home/zozo/fsl-community-bsp-2/build-master/tmp/sysroots/x86_64-linux/usr/include 
-O2 -pipe -c -o tc-i386.o `test -f 'config/tc-i386.c' || echo 
'/home/zozo/fsl-community-bsp-2/build-master/tmp/work/x86_64-linux/binutils-native/2.24-r0/binutils-2.24/gas/'`config/tc-i386.c
| In file included from 
/home/zozo/fsl-community-bsp-2/build-master/tmp/work/x86_64-linux/binutils-native/2.24-r0/binutils-2.24/gas/as.h:95:0,
|                  from 
/home/zozo/fsl-community-bsp-2/build-master/tmp/work/x86_64-linux/binutils-native/2.24-r0/binutils-2.24/gas/write.c:25:
| 
/home/zozo/fsl-community-bsp-2/build-master/tmp/work/x86_64-linux/binutils-native/2.24-r0/binutils-2.24/gas/write.c: 
In function 'record_alignment':
| ../bfd/bfd.h:303:83: error: right-hand operand of comma expression has no effect 
[-Werror=unused-value]
|  #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE)
| ^
| 
/home/zozo/fsl-community-bsp-2/build-master/tmp/work/x86_64-linux/binutils-native/2.24-r0/binutils-2.24/gas/write.c:366:5: 
note: in expansion of macro 'bfd_set_section_alignment'
|      bfd_set_section_alignment (stdoutput, seg, align);
|      ^
| cc1: all warnings being treated as errors

This happens with the master branch of the fsl repositories.
I know Fedora 21 and GCC 4.9 still has some months to be released.
This is just a heads up that at least this new "-Wunused-value" was
enabled for -Wall in GCC 4.9. FYI, the bugzilla report about binutils is:
https://bugzilla.redhat.com/show_bug.cgi?id=1087374

Best regards,
Zoltán Böszörményi



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-freescale] binutuils-native from master fails with GCC 4.9 on the buld host
  2014-04-14  9:37 binutuils-native from master fails with GCC 4.9 on the buld host Boszormenyi Zoltan
@ 2014-04-19  2:43   ` Otavio Salvador
  0 siblings, 0 replies; 3+ messages in thread
From: Otavio Salvador @ 2014-04-19  2:43 UTC (permalink / raw)
  To: Boszormenyi Zoltan,
	Patches and discussions about the oe-core layer, Khem Raj
  Cc: meta-freescale@yoctoproject.org

Hello,

On Mon, Apr 14, 2014 at 6:37 AM, Boszormenyi Zoltan <zboszor@pr.hu> wrote:
> one of my build machines has Fedora 21 Rawhide with GCC 4.9.
> I tried to build an FSL image and now binutils-native fails to compile:
...
> | cc1: all warnings being treated as errors
>
> This happens with the master branch of the fsl repositories.
> I know Fedora 21 and GCC 4.9 still has some months to be released.
> This is just a heads up that at least this new "-Wunused-value" was
> enabled for -Wall in GCC 4.9. FYI, the bugzilla report about binutils is:
> https://bugzilla.redhat.com/show_bug.cgi?id=1087374

Thanks for reporting this.

I have added OE-Core mailing list and Khem (who is working 4.9
support)  in Cc :D

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: binutuils-native from master fails with GCC 4.9 on the buld host
@ 2014-04-19  2:43   ` Otavio Salvador
  0 siblings, 0 replies; 3+ messages in thread
From: Otavio Salvador @ 2014-04-19  2:43 UTC (permalink / raw)
  To: Boszormenyi Zoltan,
	Patches and discussions about the oe-core layer, Khem Raj
  Cc: meta-freescale@yoctoproject.org

Hello,

On Mon, Apr 14, 2014 at 6:37 AM, Boszormenyi Zoltan <zboszor@pr.hu> wrote:
> one of my build machines has Fedora 21 Rawhide with GCC 4.9.
> I tried to build an FSL image and now binutils-native fails to compile:
...
> | cc1: all warnings being treated as errors
>
> This happens with the master branch of the fsl repositories.
> I know Fedora 21 and GCC 4.9 still has some months to be released.
> This is just a heads up that at least this new "-Wunused-value" was
> enabled for -Wall in GCC 4.9. FYI, the bugzilla report about binutils is:
> https://bugzilla.redhat.com/show_bug.cgi?id=1087374

Thanks for reporting this.

I have added OE-Core mailing list and Khem (who is working 4.9
support)  in Cc :D

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-19  2:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-14  9:37 binutuils-native from master fails with GCC 4.9 on the buld host Boszormenyi Zoltan
2014-04-19  2:43 ` [meta-freescale] " Otavio Salvador
2014-04-19  2:43   ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.