package/python-rpi-gpio: fix build with gcc 10.x
PATCH 1/1 package/python-rpi-gpio: fix build with gcc 10.x
--- package/python-rpi-gpio/0001-Fix-build-with-gcc-10.patch | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 package/python-rpi-gpio/0001-Fix-build-with-gcc-10.patch
package/python-rpi-gpio/0001-Fix-build-with-gcc-10.patch new file +8 -0
@@ -0,0 +1,8 @@ +--- a/setup.py 2019-07-21 14:49:21.000000000 +0200 ++++ b/setup.py 2020-08-06 10:59:51.455133324 +0200 +@@ -43,4 +43,4 @@ + url = 'http://sourceforge.net/projects/raspberry-gpio-python/', + classifiers = classifiers, + packages = ['RPi','RPi.GPIO'], +- ext_modules = [Extension('RPi._GPIO', ['source/py_gpio.c', 'source/c_gpio.c', 'source/cpuinfo.c', 'source/event_gpio.c', 'source/soft_pwm.c', 'source/py_pwm.c', 'source/common.c', 'source/constants.c'])]) ++ ext_modules = [Extension('RPi._GPIO', ['source/py_gpio.c', 'source/c_gpio.c', 'source/cpuinfo.c', 'source/event_gpio.c', 'source/soft_pwm.c', 'source/py_pwm.c', 'source/common.c', 'source/constants.c'],extra_link_args=['-Wl,--allow-multiple-definition'] )])
Signature · 1 line
2.28.0
PATCH 1/1 package/python-rpi-gpio: fix build with gcc 10.x
Michael, All,
On 2020-08-06 13:23 +0200, Michael Fischer spake thusly:
Quoted 12 lines
Signed-off-by Michael Fischer <[email protected]>--- package/python-rpi-gpio/0001-Fix-build-with-gcc-10.patch | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 package/python-rpi-gpio/0001-Fix-build-with-gcc-10.patchpackage/python-rpi-gpio/0001-Fix-build-with-gcc-10.patch new file +0
-0
package/python-rpi-gpio/0001-Fix-build-with-gcc-10.patch line 8
Quoted 8 lines
package/python-rpi-gpio/0001-Fix-build-with-gcc-10.patch new file +8
-0@@ -0,0 +1,8 @@ +--- a/setup.py 2019-07-21 14:49:21.000000000 +0200 ++++ b/setup.py 2020-08-06 10:59:51.455133324 +0200 +@@ -43,4 +43,4 @@ + url = 'http://sourceforge.net/projects/raspberry-gpio-python/', + classifiers = classifiers, + packages = ['RPi','RPi.GPIO'], +- ext_modules = [Extension('RPi._GPIO', ['source/py_gpio.c', 'source/c_gpio.c', 'source/cpuinfo.c', 'source/event_gpio.c', 'source/soft_pwm.c', 'source/py_pwm.c', 'source/common.c', 'source/constants.c'])]) ++ ext_modules = [Extension('RPi._GPIO', [...],extra_link_args=['-Wl,--allow-multiple-definition'] )])
As Thomas said in his review on another patch of yours, we really want to fix the problem, not paper over it.
Care to actually fix the code and respin a better fix, please?
Regards,
Yann E. MORIN.
Quoted 6 lines
2.28.0
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/1 package/python-rpi-gpio: fix build with gcc 10.x
Yann, All,
okay I have send a new one.
Regards,
Michael.
-----Urspr?ngliche Nachricht-----
Von: Yann E. MORIN [mailto:yann.morin.1998 at free.fr]
Gesendet: Donnerstag, 6. August 2020 21:54
An: Michael Fischer <[email protected]>
Cc: buildroot at busybox.net
Betreff: Re: [Buildroot] [PATCH 1/1] package/python-rpi-gpio: fix build with gcc 10.x
Michael, All,
On 2020-08-06 13:23 +0200, Michael Fischer spake thusly:
Quoted 14 lines
Signed-off-by Michael Fischer <[email protected]>--- package/python-rpi-gpio/0001-Fix-build-with-gcc-10.patch | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644
package/python-rpi-gpio/0001-Fix-build-with-gcc-10.patchpackage/python-rpi-gpio/0001-Fix-build-with-gcc-10.patch new file +0
-0
package/python-rpi-gpio/0001-Fix-build-with-gcc-10.patch line 8
Quoted 8 lines
package/python-rpi-gpio/0001-Fix-build-with-gcc-10.patch new file +8
-0@@ -0,0 +1,8 @@ +--- a/setup.py 2019-07-21 14:49:21.000000000 +0200 ++++ b/setup.py 2020-08-06 10:59:51.455133324 +0200 +@@ -43,4 +43,4 @@ + url = 'http://sourceforge.net/projects/raspberry-gpio-python/', + classifiers = classifiers, + packages = ['RPi','RPi.GPIO'], +- ext_modules = [Extension('RPi._GPIO', ['source/py_gpio.c', 'source/c_gpio.c', 'source/cpuinfo.c', 'source/event_gpio.c', 'source/soft_pwm.c', 'source/py_pwm.c', 'source/common.c', 'source/constants.c'])]) ++ ext_modules = [Extension('RPi._GPIO', [...],extra_link_args=['-Wl,--allow-multiple-definition'] )])
As Thomas said in his review on another patch of yours, we really want to fix the problem, not paper over it.
Care to actually fix the code and respin a better fix, please?
Regards,
Yann E. MORIN.
Quoted 6 lines
2.28.0
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' | conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'