[Fuego] Configure: error: C preprocessor "aarch64-linux-gnu-cpp" fails sanity check (netperf, dbench tests)
Tim.Bird at sony.com
Tim.Bird at sony.com
Tue Mar 20 13:44:49 UTC 2018
> -----Original Message-----
> From: dhinakar k
> Thank you very much for your prompt reply.
>
> Anyone else in this forum can help?
I seem to recall working on this problem last year, but I don't recall the details.
Guilherme Camargo just added a patch to use cross-toolchains from
Debian unstable rather than from the Emdebian project.
You might want to check out the latest fuego master repository
and try the 'fuego-ro/toolchains/install_cross_toolchain.sh arm64'
(inside the docker container), and see what happens when building
those tests.
Let me know if this helps.
-- Tim
> Regards,
> Dhinakar
>
> On 15 Mar 2018 7:49 am, "Liu, Wenlong" <liuwl.fnst at cn.fujitsu.com
> <mailto:liuwl.fnst at cn.fujitsu.com> > wrote:
>
>
> Hi Dhinakar
>
>
>
> > Did you find any permanent fix to this issue?
>
>
>
> Sorry, I didn’t use that toolchain any more.
>
> Now, I’m using a yocto toolchain which can help me out.
>
>
>
> Thanks.
>
>
>
> Best regards
>
> Liu
>
>
>
> From: fuego-bounces at lists.linuxfoundation.org <mailto:fuego-
> bounces at lists.linuxfoundation.org> [mailto:fuego-
> bounces at lists.linuxfoundation.org <mailto:fuego-
> bounces at lists.linuxfoundation.org> ] On Behalf Of dhinakar k
> Sent: Thursday, March 15, 2018 9:46 AM
> To: fuego at lists.linuxfoundation.org
> <mailto:fuego at lists.linuxfoundation.org>
> Subject: Re: [Fuego] Configure: error: C preprocessor "aarch64-linux-
> gnu-cpp" fails sanity check (netperf, dbench tests)
>
>
>
> Hi Liu,
>
> I am very sorry, somehow I missed out seeing your reply.
>
> Thanks for your suggestion.
>
>
>
> Since I missed seeing your reply, I managed it by commenting out the
> build part in fuego shell script and transferred the pre-compiled binaries to
> the desired location.
>
> I downloaded the latest linaro toolchain but it did not fix the issue.
>
> I also installed the arm64 cross toolchain inside the container using
> the install shell script but it also did not fix the issue.
>
> Did you find any permanent fix to this issue?
>
> Regards,
>
> Dhinakar
>
>
>
> On Thu, Dec 7, 2017 at 3:51 PM, <fuego-
> request at lists.linuxfoundation.org <mailto:fuego-
> request at lists.linuxfoundation.org> > wrote:
>
> Send Fuego mailing list submissions to
> fuego at lists.linuxfoundation.org
> <mailto:fuego at lists.linuxfoundation.org>
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.linuxfoundation.org/mailman/listinfo/fuego
> <https://lists.linuxfoundation.org/mailman/listinfo/fuego>
> or, via email, send a message with subject or body 'help' to
> fuego-request at lists.linuxfoundation.org <mailto:fuego-
> request at lists.linuxfoundation.org>
>
> You can reach the person managing the list at
> fuego-owner at lists.linuxfoundation.org <mailto:fuego-
> owner at lists.linuxfoundation.org>
>
> When replying, please edit your Subject line so it is more
> specific
> than "Re: Contents of Fuego digest..."
>
>
> Today's Topics:
>
> 1. Re: Configure: error: C preprocessor "aarch64-linux-gnu-
> cpp"
> fails sanity check (netperf, dbench tests) (Liu, Wenlong)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 7 Dec 2017 10:21:06 +0000
> From: "Liu, Wenlong" <liuwl.fnst at cn.fujitsu.com
> <mailto:liuwl.fnst at cn.fujitsu.com> >
> To: "dhinakar.k at samsung.com
> <mailto:dhinakar.k at samsung.com> " <dhinakar.k at samsung.com
> <mailto:dhinakar.k at samsung.com> >,
> "fuego at lists.linuxfoundation.org
> <mailto:fuego at lists.linuxfoundation.org> "
> <fuego at lists.linuxfoundation.org <mailto:fuego at lists.linuxfoundation.org>
> >
> Cc: "Tim.Bird at sony.com <mailto:Tim.Bird at sony.com> "
> <Tim.Bird at sony.com <mailto:Tim.Bird at sony.com> >
> Subject: Re: [Fuego] Configure: error: C preprocessor
> "aarch64-linux-gnu-cpp" fails sanity check (netperf,
> dbench tests)
> Message-ID:
>
> <F40213214988A94A9DDBFC5F7146FC5E012C65BB24 at G08CNEXMBPEKD01.g
> 08.fujitsu.local
> <mailto:F40213214988A94A9DDBFC5F7146FC5E012C65BB24 at G08CNEXMBPE
> KD01.g08.fujitsu.local> >
>
> Content-Type: text/plain; charset="utf-8"
>
> Hi dhinakar,
>
>
>
> I think we just have the same situation.
>
> About this issue, it seems that symbolic link ?aarch64-linux-
> gnu-cpp? missing for me(don?t know what the cause is yet).
>
> Creating this symbolic link manually can solve this problem
> temporarily.
>
>
>
> Hope that?s useful to you.
>
>
>
> Best regards
>
> Liu
>
> From: fuego-bounces at lists.linuxfoundation.org
> <mailto:fuego-bounces at lists.linuxfoundation.org> [mailto:fuego-
> bounces at lists.linuxfoundation.org <mailto:fuego-
> bounces at lists.linuxfoundation.org> ] On Behalf Of Dhinakar
> Kalyanasundaram
> Sent: Thursday, November 30, 2017 10:34 PM
> To: fuego at lists.linuxfoundation.org
> <mailto:fuego at lists.linuxfoundation.org>
> Cc: Tim.Bird at sony.com <mailto:Tim.Bird at sony.com>
> Subject: [Fuego] Configure: error: C preprocessor "aarch64-
> linux-gnu-cpp" fails sanity check (netperf, dbench tests)
>
>
> Dear All,
>
>
>
> I am using Fuego v1.2.1 (main branch not 'next' branch).
>
> While executing 'netperf', 'dbench' test etc. I am getting
> 'configure: error: C preprocessor "aarch64-linux-gnu-cpp" fails sanity check '
> error.
>
> I have pasted the error log below for reference.
>
> The aarch64 tool chain has been installed inside the container
> by executing the '/fuego-ro/toolchains/install_cross_toolchain.sh arm64'
> command.
>
> Is there anything else that I need to setup? Please let me
> know.
>
>
>
> Also I see the below warning in most of the tests log.
>
> ########################### WARNING
> ###############################
> Can't open /fuego-rw/logs/Benchmark.dbench/TRAV-Sanity-
> Test.default.1.1/testlog.txt
> -----
>
> Why is it always referring to 'default.1.1' test? Is it for results
> comparison & charting purpose?
>
>
>
> ....
>
> [buildzone] $ /bin/sh -xe
> /tmp/hudson7334983476305155012.sh
> + export Reboot=false
> + Reboot=false
> + export Rebuild=false
> + Rebuild=false
> + export Target_PreCleanup=true
> + Target_PreCleanup=true
> + export Target_PostCleanup=true
> + Target_PostCleanup=true
> + export TESTDIR=Benchmark.netperf
> + TESTDIR=Benchmark.netperf
> + export TESTSPEC=default
> + TESTSPEC=default
> + timeout --signal=9 6m /bin/bash /fuego-
> core/engine/scripts/main.sh
> Using nosyslogd.dist overlay
> ##### doing fuego phase: pre_test ########
> Logged in as user root
> Firmware revision: 4.9.0+
>
>
> 01:29:46 up 1:29, 1 user, load average: 3.65, 1.92, 0.75
>
> total used free shared buff/cache available
> Mem: 2342088 57228 2272632 208 12228
> 2244820
> Swap: 0 0 0
>
> Filesystem Size Used Avail Use% Mounted on
> /dev/root 7.2G 4.4G 2.5G 64% /
> devtmpfs 337M 0 337M 0% /dev
> tmpfs 1.2G 0 1.2G 0% /dev/shm
> tmpfs 1.2G 52K 1.2G 1% /tmp
> tmpfs 1.2G 156K 1.2G 1% /run
>
> /dev/mmcblk0p1 on / type ext4 (rw,relatime,data=ordered)
> devtmpfs on /dev type devtmpfs
> (rw,relatime,size=344208k,nr_inodes=86052,mode=755)
> proc on /proc type proc (rw,relatime)
> devpts on /dev/pts type devpts
> (rw,relatime,gid=5,mode=620,ptmxmode=000)
> tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)
> tmpfs on /tmp type tmpfs (rw,relatime)
> tmpfs on /run type tmpfs
> (rw,nosuid,nodev,relatime,mode=755)
> sysfs on /sys type sysfs (rw,relatime)
>
> BusyBox v1.26.2 (2017-05-05 12:57:46 IST) multi-call binary.
>
> Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-
> e PATTERN.../-f FILE [FILE]...
>
> Search for PATTERN in FILEs (or stdin)
>
> -H Add 'filename:' prefix
> -h Do not add 'filename:' prefix
> -n Add 'line_no:' prefix
> -l Show only names of files that match
> -L Show only names of files that don't match
> -c Show only count of matching lines
> -o Show only the matching part of line
> -q Quiet. Return 0 if PATTERN is found, 1 otherwise
> -v Select non-matching lines
> -s Suppress open and read errors
> -r Recurse
> -i Ignore case
> -w Match whole words only
> -x Match whole lines only
> -F PATTERN is a literal (not regexp)
> -E PATTERN is an extended regexp
> -m N Match up to N times per file
> -A N Print N lines of trailing context
> -B N Print N lines of leading context
> -C N Same as '-A N -B N'
> -e PTRN Pattern to match
> -f FILE Read pattern from file
>
> [ 5388.605500] sh (2553): drop_caches: 3
>
> ##### doing fuego phase: build ########
>
> Unpacking ../netperf/netperf-2.6.0.tar.bz2
> configure: loading cache config.cache
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... aarch64-unknown-linux-gnu
> checking target system type... aarch64-unknown-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for aarch64-linux-gnu-strip... aarch64-linux-gnu-strip
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... no
> checking for mawk... mawk
> checking whether make sets $(MAKE)... yes
> checking for aarch64-linux-gnu-gcc... aarch64-linux-gnu-gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... yes
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether aarch64-linux-gnu-gcc accepts -g... yes
> checking for aarch64-linux-gnu-gcc option to accept ISO C89...
> none needed
> checking for style of include used by make... GNU
> checking dependency style of aarch64-linux-gnu-gcc... gcc3
> checking for aarch64-linux-gnu-ranlib... aarch64-linux-gnu-
> ranlib
> checking for an ANSI C-conforming const... yes
> checking for main in -lm... yes
> checking how to run the C preprocessor... aarch64-linux-gnu-
> cpp
> configure: error: in `/fuego-rw/buildzone/TRAV-Sanity-
> Test.default.Benchmark.netperf-aarch64':
> configure: error: C preprocessor "aarch64-linux-gnu-cpp" fails
> sanity check
> See `config.log' for more details
> in signal_handler
> Teardown board link
> WARNING: program returned exit code
> Log evaluation may be invalid
> Going to check 1 fail cases for TRAV-Sanity-
> Test.default.Benchmark.netperf
> grep: /fuego-rw/logs/Benchmark.netperf/TRAV-Sanity-
> Test.default.1.1/testlog.txt: No such file or directory
> No fail cases detected for TRAV-Sanity-
> Test.default.Benchmark.netperf
> running python with
> PATH=/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/gam
> es
> ########################### WARNING
> ###############################
> Can't open /fuego-rw/logs/Benchmark.netperf/TRAV-Sanity-
> Test.default.1.1/testlog.txt
> -----
> matches: None
> WARNING: missing or faulty criteria.json file (/fuego-
> core/engine/tests/Benchmark.netperf/criteria.json), looking for
> reference.log
> converting reference.log for test netperf
> criteria_data= {'schema_version': '1.0', 'criteria': [{'reference':
> {'operator': 'le', 'value': 10000000.0}, 'tguid':
> 'default.MIGRATED_TCP_MAERTS.cpu'}, {'reference': {'operator': 'ge',
> 'value': 0.0}, 'tguid': 'default.MIGRATED_TCP_MAERTS.net
> <http://default.MIGRATED_TCP_MAERTS.net> '}, {'reference': {'operator':
> 'le', 'value': 10000000.0}, 'tguid': 'default.MIGRATED_TCP_STREAM.cpu'},
> {'reference': {'operator': 'ge', 'value': 0.0}, 'tguid':
> 'default.MIGRATED_TCP_STREAM.net
> <http://default.MIGRATED_TCP_STREAM.net> '}]}
> No reference.json available
> ref={'test_sets': []}
> Applying criterion {'max_fail': 0, 'tguid': 'Benchmark.netperf'}
> Writing run data to /fuego-
> rw/logs/Benchmark.netperf/TRAV-Sanity-Test.default.1.1/run.json
> reference.json not available
> Writing merged results to /fuego-
> rw/logs/Benchmark.netperf/results.json
> Writing flat results to /fuego-
> rw/logs/Benchmark.netperf/flat_plot_data.txt
> chart_config.json not available or is wrong format, using
> default values
> Writing chart data to /fuego-
> rw/logs/Benchmark.netperf/flot_chart_data.json
> ERROR: results did not satisfy the threshold
> Build step 'Execute shell' marked build as failure
> [description-setter] Description set: <a
> href="/storm/userContent/fuego.logs/Benchmark.netperf/TRAV-Sanity-
> Test.default.1.1/testlog.txt">testlog</a> <a
> href="/storm/userContent/fuego.logs/Benchmark.netperf/TRAV-Sanity-
> Test.default.1.1/run.json">run.json</a> <a
> href="/storm/userContent/fuego.logs/Benchmark.netperf/TRAV-Sanity-
> Test.default.1.1/consolelog.txt">fuegolog</a> <a
> href="/storm/userContent/fuego.logs/Benchmark.netperf/TRAV-Sanity-
> Test.default.1.1/devlog.txt">devlog</a> <a
> href="/storm/userContent/fuego.logs/Benchmark.netperf/TRAV-Sanity-
> Test.default.1.1/prolog.sh">prolog.sh</a>
> Finished: FAILURE
>
>
>
> Regards,
>
> Dhinakar,
>
> Senior Technical Manager,
>
> 2-07-526, Phoenix Building,
>
> +91-9902007650
>
> Samsung Research Institute, Bangalore.
>
> [cid:image001.png at 01D36F84.A9EFAF20]
>
> [Web Bug from
> http://ext.samsung.net/mail/ext/v1/external/status/update?userid=dhinak
> ar.k&do=bWFpbElEPTIwMTcxMTMwMTQzNDA4ZXBjbXM1cDc3NDc0NDljYTk
> wMjUyNmQ2MTg2MmI4MmQyZmQyYjg3YSZyZWNpcGllbnRBZGRyZXNzPWZ
> 1ZWdvQGxpc3RzLmxpbnV4Zm91bmRhdGlvbi5vcmc_
> <http://ext.samsung.net/mail/ext/v1/external/status/update?userid=dhina
> kar.k&do=bWFpbElEPTIwMTcxMTMwMTQzNDA4ZXBjbXM1cDc3NDc0NDljYT
> kwMjUyNmQ2MTg2MmI4MmQyZmQyYjg3YSZyZWNpcGllbnRBZGRyZXNzPW
> Z1ZWdvQGxpc3RzLmxpbnV4Zm91bmRhdGlvbi5vcmc_> ]
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://lists.linuxfoundation.org/pipermail/fuego/attachments/20171207/2d
> 9a1123/attachment.html
> <http://lists.linuxfoundation.org/pipermail/fuego/attachments/20171207/2d
> 9a1123/attachment.html> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: image001.png
> Type: image/png
> Size: 33527 bytes
> Desc: image001.png
> URL:
> <http://lists.linuxfoundation.org/pipermail/fuego/attachments/20171207/2d
> 9a1123/attachment.png
> <http://lists.linuxfoundation.org/pipermail/fuego/attachments/20171207/2d
> 9a1123/attachment.png> >
>
> ------------------------------
>
>
> _______________________________________________
> Fuego mailing list
> Fuego at lists.linuxfoundation.org
> <mailto:Fuego at lists.linuxfoundation.org>
> https://lists.linuxfoundation.org/mailman/listinfo/fuego
> <https://lists.linuxfoundation.org/mailman/listinfo/fuego>
>
>
> End of Fuego Digest, Vol 17, Issue 9
> ************************************
More information about the Fuego
mailing list