Hi Team,
Our customer encountered an error when he compiled the libraries and source code using the GNU compiler. According to our customer,
I have a question about compiling code for the AM64x eval board. I had compiled the libraries and source code using the GNU compiler and when I run an example app I get the following errors on the UART.
The error messages start:
EnetUdma_openRxRsvdFlow: [Enet UDMA Error] Cq ring allocation failed !!: -1
Cpsw_openInternal: failed to open default flow.
If I run the same app compiled with the TI clang compiler it works without a problem.
I was not able to find any LwIP or enet libraries compiled with the GNU compiler. Is there a makefile to build these libraries using a GNU compiler?
I want to compile with GNU for two reasons. a. We have a C++ code base and your ti-clang compiler does not support many new features. 2. our C++ code base uses exceptions and you ti-clang compile does not support exceptions.
I put some logging in the Sciclient_service() function and see that when compiling with TI-clang the following messages were sent to the DMSC before main() starts.
0x0201 TISCI_MSG_GET_DEVICE
0x0201 ditto
0x0201 ditto
0x0101 TISCI_MSG_GET_CLOCK
0x0104 TISCI_MSG_GET_NUM_CLOCK_PARENTS
0x0103 TISCI_MSG_GET_CLOCK_PARENT
0x0100 TISCI_MSG_SET_CLOCK
0x0102 TISCI_MSG_SET_CLOCK_PARENT
0x010D TISCI_MSG_QUERY_FREQ
0x010C TISCI_MSG_SET_FREQ
When compiling with the GNU comiler these messages are not sent. Does the ti-clang compiler call some special code beofre main that the GNU compiler does not?