Bug 1084643 - GCC 8: gdb build fails
GCC 8: gdb build fails
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Michael Matz
E-mail List
:
Depends on:
Blocks: 1084649
  Show dependency treegraph
 
Reported: 2018-03-09 10:05 UTC by Martin Liška
Modified: 2018-05-04 09:25 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Liška 2018-03-09 10:05:21 UTC
Build the package with GCC 8, there's error:

[  207s] ../../bfd/libbfd.h:268:4: error: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(struct bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(struct bfd *, struct bfd *)'} [-Werror=cast-function-type]

Please build the project as follows to reproduce the issue:
osc build --alternative-project=openSUSE:Factory:Staging:Gcc7
Comment 1 Richard Biener 2018-05-04 09:25:07 UTC
Fixed.