Forums - Hexagon tools: command line too long

4 posts / 0 new
Last post
Hexagon tools: command line too long
peter.toft
Join Date: 14 Nov 19
Posts: 6
Posted: Sun, 2021-03-07 09:33

I have been working with Hexagon SDK 3.5.1 and tools version 8.3.07.  I have made some emulator tests for Linux, and all is fine - except now that I added a test with a very long command line. On Linux (Ubuntu 20.04 x86_64 ) I am running

hexagon-sim "--pmu_statsfile" "/dev/null" "-mv65" "--simulated_returnval" "--"  foo -arg1 LOOONGLINE -arg2 LOOONGLINE -arg3 LOOONGLINE  

where the resulting line is above 1200 characters.

I see

28: hexagon-sim INFO: The rev_id used in the simulation is 0x00004065 (v65a_512)
28: hexagon-sim WARNING: sim_handle_trap in src/hexswi.c:1790: Cmdline too long
 
It seems that I have ~1183 characters as the maximum line length.
Is there a way to circumvent this limitation? Some environment variable to set?
 
  • Up0
  • Down0
peter.toft
Join Date: 14 Nov 19
Posts: 6
Posted: Wed, 2021-12-01 13:27

Same problem exists for SDK 3.0 with tools 7.2.10-1-r2

Do any Qualcomm develop ever look at these posts?

  • Up0
  • Down0
Sjessus60
Join Date: 3 Oct 22
Posts: 28
Posted: Sat, 2023-08-26 06:12
Re: Hexagon tools: command line too long
  • Up0
  • Down0
mado.jessu
Join Date: 6 Oct 22
Posts: 27
Posted: Sat, 2023-08-26 07:27
Re: Hexagon tools: command line too long plus longuetemps
  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.