[issue28013] PPC64 Fedora socket and ssl compile failure

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

#28017 and -std=gnu99 fixes the problem. The header files needs GNU extensions 
on big endian machines.

--
nosy: +christian.heimes
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28013] PPC64 Fedora socket and ssl compile failure

2016-09-07 Thread Martin Panter

Martin Panter added the comment:

Looks like enabling C99 is the trigger. This is an old bug with the bluetooth 
header (or at least a regression triggered by an old patch, I haven’t followed 
the whole story):
https://marc.info/?i=CAOcK=cpahp-zbuwopa3yb0zcampwqgujzqcp+ktpjrx6tkd...@mail.gmail.com

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28013] PPC64 Fedora socket and ssl compile failure

2016-09-07 Thread Benjamin Peterson

Benjamin Peterson added the comment:

It's strange because it seems to imply the system headers are
syntatically invalid.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28013] PPC64 Fedora socket and ssl compile failure

2016-09-07 Thread Martin Panter

New submission from Martin Panter:

First build that failed is 
. 
Sample of the error messages:

In file included from /usr/include/bluetooth/bluetooth.h:37:0,
 from 
/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/socketmodule.h:58,
 from 
/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/socketmodule.c:321:
/usr/include/bluetooth/bluetooth.h: In function ‘bt_get_le64’:
/usr/include/bluetooth/bluetooth.h:238:18: error: expected 
specifier-qualifier-list before ‘typeof’
  return bswap_64(bt_get_unaligned((const uint64_t *) ptr));
  ^
/usr/include/bluetooth/bluetooth.h:238:18: error: called object is not a 
function or function pointer
  return bswap_64(bt_get_unaligned((const uint64_t *) ptr));
  ^
/usr/include/bluetooth/bluetooth.h:238:18: error: ‘struct ’ has no 
member named ‘__v’
  return bswap_64(bt_get_unaligned((const uint64_t *) ptr));
  ^

Benjamin, the commits leading up to this include a lot of your C99 changes, so 
I added you, but I don’t have any definitive proof it’s your fault :)

--
components: Extension Modules
keywords: buildbot
messages: 274957
nosy: benjamin.peterson, martin.panter
priority: normal
severity: normal
status: open
title: PPC64 Fedora socket and ssl compile failure
type: compile error
versions: Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com