lancethepants / tomatoware

Tomatoware is a set of scripts to create a native development environment for tomato firmware supported routers.
Other
71 stars 22 forks source link

v3.0 cmake error #51

Closed rampageX closed 2 years ago

rampageX commented 2 years ago
[T][P][netgear:/mmc]$ cmake

/mmc/bin/cmake: symbol '_ZSt28__throw_bad_array_new_lengthv': can't resolve symbol

/mmc/bin/cmake: symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7reserveEv': can't resolve symbol

and newest nightly building have this error too.

had google some place, maybe GCC 11 problem?

rampageX commented 2 years ago

rollback to nightly 07-09-2021, GCC 10.3 fix this issue, all other version using GCC 11 not work.

lancethepants commented 2 years ago

hmmm, I'm not seeing this on arm or mipsel. What router and firmware version are you using? Do you wipe out the previous installation before extracting the new one? or do you extract over top the existing installation?

rampageX commented 2 years ago

Netgear R7000 with FreshTomato 2021.5 ARM.

All GCC 11 version i just extract over top the existing installation (like i did before many version upgrade... );

The nightly 07-09-2021, i wipe out old version and did a fresh extract, because i think many libs/app will be downgrade.

rampageX commented 2 years ago

BTW: I can live with this version until your upgrade OpenSSL to 3.0 :)

lancethepants commented 2 years ago

I'm using the same exact router and firmware version. I always wipe out the previous installation before extracting the new one, so maybe that is the issue you're experiencing. I'll try and look at OpenSSL soon.

lancethepants commented 2 years ago

OpenSSL now has been upgraded.