jcmvbkbc / gcc-xtensa

gcc for xtensa
GNU General Public License v2.0
131 stars 58 forks source link

Building for esp32s3: unsupported ABI? #16

Closed mingqian closed 7 months ago

mingqian commented 7 months ago

Hi Max, When I run the rebuild-esp32s3-linux.sh, it fails when building the toolchain. Looking at the log, it fails when compiling libgcc2.c, reporting error of "Unsupported ABI". In the header file, it triggers the error when both FDPIC and XTENSA_WINDOWED_ABI are defined. I think esp32s3 should support windowed abi, so a bit confused here. build log attached and hope you could help. Thanks. build.log

Best regards,

mingqian commented 7 months ago

Thanks a lot. Can you tell how to set the ABI when building the toolchain? Not found in crosstool's config.

mingqian commented 7 months ago

Thanks. I made the change as this and now it works well.