[dpdk-dev] Compiler segfaults on arm ubuntu 18.04

Honnappa Nagarahalli Honnappa.Nagarahalli at arm.com
Thu Oct 15 16:59:41 CEST 2020


Thanks David. We had seen compiler segfaults internally in the past. Don't remember the versions which worked/did not work. We had to downgrade/upgrade the versions.
Are there plans to move to Ubuntu 20.04 or later?


> -----Original Message-----
> From: David Marchand <david.marchand at redhat.com>
> Sent: Thursday, October 15, 2020 4:38 AM
> To: Honnappa Nagarahalli <Honnappa.Nagarahalli at arm.com>; Ruifeng Wang
> <Ruifeng.Wang at arm.com>; Luca Boccassi <bluca at debian.org>
> Cc: nd <nd at arm.com>; dev <dev at dpdk.org>; ci at dpdk.org
> Subject: Compiler segfaults on arm ubuntu 18.04
> 
> This is not something new, as I noticed it quite a few times.
> 
> Reporting it now to see if you are aware of it and if we can do something
> about it.
> 
> We get gcc segfaults every once in a while in Travis:
> https://travis-ci.com/github/DPDK/dpdk/jobs/400035018#L1973
> 
> FAILED: drivers/drivers@@rte_pmd_failsafe at sha/meson-
> generated_.._rte_pmd_failsafe.pmd.c.o
> gcc -Idrivers/drivers@@rte_pmd_failsafe at sha -Idrivers -I../drivers -
> Idrivers/net/failsafe -I../drivers/net/failsafe -Ilib/librte_ethdev -
> I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/include -
> I../lib/librte_eal/include -Ilib/librte_eal/linux/include -
> I../lib/librte_eal/linux/include -Ilib/librte_eal/arm/include -
> I../lib/librte_eal/arm/include -Ilib/librte_eal/common -
> I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -
> I../lib/librte_kvargs -Ilib/librte_telemetry/../librte_metrics
> -I../lib/librte_telemetry/../librte_metrics -Ilib/librte_telemetry -
> I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -
> I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -
> Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -
> Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -
> I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-
> color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2
> -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-
> nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -
> Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -
> Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -
> D_GNU_SOURCE -fPIC -DALLOW_EXPERIMENTAL_API -
> DALLOW_INTERNAL_API -Wno-format-truncation
> -std=gnu99 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -pedantic -
> DLINUX -MD -MQ 'drivers/drivers@@rte_pmd_failsafe at sha/meson-
> generated_.._rte_pmd_failsafe.pmd.c.o'
> -MF 'drivers/drivers@@rte_pmd_failsafe at sha/meson-
> generated_.._rte_pmd_failsafe.pmd.c.o.d'
> -o 'drivers/drivers@@rte_pmd_failsafe at sha/meson-
> generated_.._rte_pmd_failsafe.pmd.c.o'
> -c drivers/rte_pmd_failsafe.pmd.c
> Segmentation fault
> 
> 
> Thanks.
> 
> --
> David Marchand



More information about the dev mailing list