[Buildroot] [PATCH 1/2] package/python-rpi-gpio: fix gcc-10 compatibility patch

Christian Stewart christian at paral.in
Fri Aug 21 21:31:34 UTC 2020


Hi Yann,

Thanks for the fix.

On Fri, Aug 21, 2020 at 9:35 AM Yann E. MORIN <yann.morin.1998 at free.fr> wrote:
>
> Although the patch makes the package build OK, it fails at runtime
> when the module is imported, because of missing symbols:
>
>     ImportError: /usr/lib/python3.8/site-packages/RPi/_GPIO.cpython-38-aarch64-linux-gnu.so: undefined symbol: high
>
> Fix that by making sure the symbols are declared once, but only once.
>
> Fixes: #13166
>
> Reported-by: Christian Stewart <christian at paral.in>
> Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>

Tested-by: Christian Stewart <christian at paral.in>

Best,
Christian


More information about the buildroot mailing list