It will help maintainers if you tell what tcc version you're using. $ tcc -v tcc version 0.9.27 mob:95e3951 2022-12-24T09:30:00+01:00 (AArch64 Darwin)
I daily compile a real and rather complex C file as big as 2835488 bytes wo. PB on Windows 32/64, Linux X86/x64/arm/arm64 as well as few other *BSD platforms. C. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Levo D Sent: Saturday, December 24, 2022 06:38 To: [email protected] Subject: [Tinycc-devel] Do any flags avoid internal error: relocation failed? I'm playing around with tcc and seeing how many lines it can run per second I tried a silly 2 million lined c file and it failed with "tcc: error: internal error: relocation failed". I tried using -c thinking I should run a tcc process for each of my cores however that doesn't increase the amount of code I can compile. Writing "tcc -nostdlib *.o" I get the same internal error. I was trying to find how much work I'll need to provide it to actually use a full second. I really don't need a solution, I'm just fooling around. If there's a flag I can use to avoid this error I'll want to try it. I tried looking through https://man.cx/tcc(1) and didn't see anything obvious _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
