Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
20 user(s) are online (7 user(s) are browsing Forums)

Members: 0
Guests: 20

more...

Support us!

Headlines

 
  Register To Post  

« 1 (2) 3 4 5 ... 21 »
Re: gcc 9 and 10
Home away from home
Home away from home


See User information
@sTix
I.e. everything fully enabled like it on 8.4.0 on SBA's account, and nothing disabled? Also and clib2 and newlib both builds, etc?

I just may give a go for GCC 10 :)

Quote:

but that's just 68k stuff if I understand things right.


You mean for a 68k build, or about some 68k-related parts in the PPC build?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: gcc 9 and 10
Just popping in
Just popping in


See User information
@kas1e

Gcc 9 is 1:1 with SBA:s repo, how it's built, patches applied and so on.

Gcc 10 is 0.99:1. As far as OS4 is concerned it's 1:1 unless I've misunderstood something (which is a possibility of course :)

I'd say 10 is ready for some real testing. Would be interesting to see if it's possible to get a c++20 project running on OS4. It will probably lead to bugs popping up, like the threading problems you identified the other day, but that's good I guess.

Go to top
Re: gcc 9 and 10
Home away from home
Home away from home


See User information
@sTix
I set up, for now, a new Cygwin instance, and cloning gcc10 repo from you. I Will try to build it as usually build cross-compilers and give it a go to build firstly some simple stuff, and then Odyssey, just to see how it behave for real. If Oddysey will be compiled and works as before, then we can say it at least "ok"

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: gcc 9 and 10
Just popping in
Just popping in


See User information
It would be nice with a recent version of gdb-binutils as well. I quickly peeked into the current patchset and what it would take to apply that to the latest gdb-binutils. I walked away with a strong desire to start smoking crack.

Go to top
Re: gcc 9 and 10
Just popping in
Just popping in


See User information
@kas1e
Quote:
I set up, for now, a new Cygwin instance, and cloning gcc10 repo from you. I Will try to build it as usually build cross-compilers and give it a go to build firstly some simple stuff, and then Odyssey, just to see how it behave for real. If Oddysey will be compiled and works as before, then we can say it at least "ok"

Great! Lets hope for the best.

Go to top
Re: gcc 9 and 10
Home away from home
Home away from home


See User information
@sTix
Cross compiler version of gcc10 builds fine, test binary works (click open in new tab) and even -flto works as expected.

Resized Image

Trying to build Odyssey now:

libwtf: builds with no probs

libjavascript: builds fine, but brings warnings about [-Wdeprecated-copy], but no errors at least

libwebcore: same build fine but brings warnings about [-Wdeprecated-copy], but no errors at least

libwebkit-owb: that one full of amiga code, so this one together with some warnings bring even an error: gcc10 by default seems to use now -Wnarrowing, and that causes issues with enums+switch of names of mui methods, so had to add -Wno-narrowing to compiler flags. Other than that all builds fine.

And final linking done! Tested binary: works :) So the first stress test passed. I Will try to build some other heavy shit (like few games using all sort of stuff).


Oh, and the size of the binary now 61.068.962, instead of 63.321.206. Dunno why it saves about 2.5MB with gcc10, maybe some inbuild optimization takes place, or maybe something else which I not aware of, but it's good. I noticed in the output of gcc10 that it has now strings "Supported LTO compression algorithm: zlib", while with the previous version I didn't have such an output, so maybe some lto related stuff are default now?


Edited by kas1e on 2021/1/9 8:24:34
Edited by kas1e on 2021/1/9 8:25:32
Edited by kas1e on 2021/1/9 8:30:08
Edited by kas1e on 2021/1/9 8:30:41
Edited by kas1e on 2021/1/9 9:17:28
Edited by kas1e on 2021/1/9 10:45:16
Edited by kas1e on 2021/1/9 10:47:33
Edited by kas1e on 2021/1/9 10:52:46
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: gcc 9 and 10
Just popping in
Just popping in


See User information
@sTix

Quote:

For those of you willing to take risks, experimental builds of gcc 9 and 10 can be found here (under assets):

https://github.com/sodero/adtools/releases

I've only tried this with C code, which seems OK. Raziel tried ScummVM, which is C++, and that seems to be OK as well.


Quote:

Gcc 9 is 1:1 with SBA:s repo, how it's built, patches applied and so on.


Just tried adtools-os4-9-20210108-716 on OS4 with a C++ project. No problems so far. -athread=native seems to work.

Go to top
Re: gcc 9 and 10
Just popping in
Just popping in


See User information
@kas1e and @IamSONIC

Excellent, very good to hear!

Go to top
Re: gcc 9 and 10
Home away from home
Home away from home


See User information
@sTix

gcc9 is working well with scummvm and it's c++11 functions

i haven't tested gcc10 (would like to wait for the std:: fix to hit it, just like wtih gcc9, if it hasn't already)

Go to top
Re: gcc 9 and 10
Just popping in
Just popping in


See User information
@Raziel
Quote:
gcc9 is working well with scummvm and it's c++11 functions

Great, thanks for testing.

Quote:
i haven't tested gcc10 (would like to wait for the std:: fix to hit it, just like wtih gcc9, if it hasn't already)

Which fix are you refering to? The two threading fixes from salass00 are included in both the gcc 9 and 10 builds.

Go to top
Re: gcc 9 and 10
Home away from home
Home away from home


See User information
@sTix

Those were the ones i was waiting for

Great, on to gcc10 testing then...

Go to top
Re: gcc 9 and 10
Home away from home
Home away from home


See User information
@sTix

Uh, just saw the lto part...need to trx it again, didn't work with earlier versions

Go to top
Re: gcc 9 and 10
Home away from home
Home away from home


See User information
I unfortunately still get the same error message
/SDK/gcc/ppc-amigaos/bin/ld: -f may not be used without -shared
even with static builds

and using -shared the binary grows in size instead of shrinking.

So, lto still don't work natively...too bad :-/

Go to top
Re: gcc 9 and 10
Just popping in
Just popping in


See User information
@sTix

Building another C++ project using adtools-os4-9-20210108-716 shows errors regarding threading during linking stage:

ppc-amigaos-g++ -o Dungeongenerator Architekt.o Optionen_Anwenden.o Architekt_Structs_Initialisierung.o Optionen_Dateizugriff_Einstellungen.o Architekt_Verbindungen.o Optionen_Dateizugriff.o CGUIFileOpenDialog_Modified.o Optionen_GUI_aktualisieren.o COBJMeshWriter_Modified.o Optionen_GUI_merken.o DreiecksMesh_LOD.o Spline_Detailobjekte_Visibility.o DreiecksMesh.o Spline.o DreiecksMesh_Structs_Initialisierung.o Spline_Structs_Initialisierung.o EventReceiver.o SubSzene.o FraktalGenerator.o Szene.o GUI.o VoxelRaum.o main.-lIrrlicht -lSDL_gl4es -lgl4es -lpthread
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(eh_globals.o): In function `__cxa_get_globals_fast':
/home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libstdc++-v3/libsupc++/eh_globals.cc:116: undefined reference to 
`__gthread_getspecific'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(eh_globals.o): In function `__cxa_get_globals'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libstdc++-v3/libsupc++/eh_globals.cc:128undefined reference to `__gthread_getspecific'
/home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libstdc++-v3/libsupc++/eh_globals.cc:132: undefined reference to 
`__gthread_setspecific'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(eh_globals.o): In function `_ZN17__eh_globals_initC4Ev'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libstdc++-v3/libsupc++/eh_globals.cc:97undefined reference to `__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libstdc++-v3/libsupc++/eh_globals.cc:98: undefined reference to 
`__gthread_key_create'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(eh_globals.o): In function `_ZN17__eh_globals_initD4Ev'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libstdc++-v3/libsupc++/eh_globals.cc:104undefined reference to `__gthread_key_delete'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(guard.o): In function 
`_ZN9__gnu_cxx17__recursive_mutexC4Ev':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:186: undefined reference to `__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:187undefined reference to `__gthread_recursive_mutex_init'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(guard.o): In function 
`__cxa_guard_acquire':
/home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libstdc++-v3/libsupc++/guard.cc:306: undefined reference to `__gthread_active_p'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(guard.o): In function `get_static_mutex':
/home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libstdc++-v3/libsupc++/guard.cc:66: undefined reference to 
`__gthread_once'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(guard.o): In function `__gnu_cxx::__recursive_mutex::lock()'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:202undefined reference to `__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:204: undefined reference to 
`__gthread_recursive_mutex_lock'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(guard.o): In function `__gnu_cxx::__recursive_mutex::unlock()'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:213undefined reference to `__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:215: undefined reference to 
`__gthread_recursive_mutex_unlock'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:213: undefined reference to `__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:215undefined reference to `__gthread_recursive_mutex_unlock'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(guard.o): In function 
`__cxa_guard_abort':
/home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libstdc++-v3/libsupc++/guard.cc:382: undefined reference to `__gthread_active_p'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(guard.o): In function `__gnu_cxx::__recursive_mutex::unlock()':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:213: undefined reference to 
`__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:215: undefined reference to `__gthread_recursive_mutex_unlock'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(guard.o): In function `__cxa_guard_release':
/home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libstdc++-v3/libsupc++/guard.cc:423: undefined reference to 
`__gthread_active_p'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(guard.o): In function `__gnu_cxx::__recursive_mutex::unlock()'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:213undefined reference to `__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:215: undefined reference to 
`__gthread_recursive_mutex_unlock'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(ios_init.o): In function `__exchange_and_add_dispatch'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:81undefined reference to `__gthread_active_p'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(ios_init.o): In function 
`__atomic_add_dispatch':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:95: undefined reference to `__gthread_active_p'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(ios_init.o): In function `__exchange_and_add_dispatch':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:81: undefined reference to 
`__gthread_active_p'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(locale.o): In function `_ZN9__gnu_cxx7__mutexD4Ev'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:139undefined reference to `__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:140: undefined reference to 
`__gthread_mutex_destroy'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(locale.o): In function `__gnu_cxx::__mutex::unlock()'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:158undefined reference to `__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:160: undefined reference to 
`__gthread_mutex_unlock'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(locale.o): In function `__atomic_add_dispatch'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:95undefined reference to `__gthread_active_p'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(locale.o): In function 
`std::locale::facet::_S_get_c_locale()':
/home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libstdc++-v3/src/c++98/locale.cc:217: undefined reference to `__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libstdc++-v3/src/c++98/locale.cc:218undefined reference to `__gthread_once'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(locale.o): In function 
`__exchange_and_add_dispatch':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:81: undefined reference to `__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:81undefined reference to `__gthread_active_p'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(locale.o): In function 
`__atomic_add_dispatch':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:95: undefined reference to `__gthread_active_p'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(locale.o): In function `__exchange_and_add_dispatch':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:81: undefined reference to 
`__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:81: undefined reference to `__gthread_active_p'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(locale.o):/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:95more undefined references to `__gthread_active_p' follow
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(locale.o): In function 
`__gnu_cxx::__mutex::lock()':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:149: undefined reference to `__gthread_mutex_lock'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(locale.o): In function `__gnu_cxx::__mutex::unlock()':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:160: undefined reference to 
`__gthread_mutex_unlock'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(locale.o): In function `_ZN9__gnu_cxx7__mutexC4Ev'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:132undefined reference to `__gthread_mutex_init'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(locale_init.o): In function 
`_ZN9__gnu_cxx7__mutexD4Ev':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:139: undefined reference to `__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:140undefined reference to `__gthread_mutex_destroy'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(locale_init.o): In function 
`_ZN9__gnu_cxx7__mutexC4Ev':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:131: undefined reference to `__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:132undefined reference to `__gthread_mutex_init'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(locale_init.o): In function 
`std::locale::_S_initialize()':
/home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libstdc++-v3/src/c++98/locale_init.cc:322: undefined reference to `__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libstdc++-v3/src/c++98/locale_init.cc:323undefined reference to `__gthread_once'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(locale_init.o): In function 
`__gnu_cxx::__mutex::lock()':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:147: undefined reference to `__gthread_active_p'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(locale_init.o): In function `__atomic_add_dispatch':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:95: undefined reference to 
`__gthread_active_p'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(locale_init.o): In function `__gnu_cxx::__mutex::unlock()'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:158undefined reference to `__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:160: undefined reference to 
`__gthread_mutex_unlock'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(locale_init.o): In function `__gnu_cxx::__mutex::lock()'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:149undefined reference to `__gthread_mutex_lock'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:147: undefined reference to 
`__gthread_active_p'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(locale_init.o): In function `__atomic_add_dispatch'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:95undefined reference to `__gthread_active_p'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(locale_init.o): In function 
`__gnu_cxx::__mutex::unlock()':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:158: undefined reference to `__gthread_active_p'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(locale_init.o): In function `__gnu_cxx::__mutex::lock()':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:149: undefined reference to 
`__gthread_mutex_lock'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(locale_init.o): In function `__gnu_cxx::__mutex::unlock()'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:160undefined reference to `__gthread_mutex_unlock'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(cow-locale_init.o): In function 
`__atomic_add_dispatch':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:95: undefined reference to `__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:95undefined reference to `__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:95: undefined reference to 
`__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:95: undefined reference to `__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:95undefined reference to `__gthread_active_p'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(cow-locale_init.o):/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:95: more undefined references to 
`__gthread_active_p' follow
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(eh_alloc.o): In function `__gnu_cxx::__mutex::lock()'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:149undefined reference to `__gthread_mutex_lock'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(eh_alloc.o): In function 
`__gnu_cxx::__mutex::unlock()':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:160: undefined reference to `__gthread_mutex_unlock'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(eh_alloc.o): In function `__gnu_cxx::__mutex::lock()':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:147: undefined reference to 
`__gthread_active_p'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(eh_alloc.o): In function `__gnu_cxx::__mutex::unlock()'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:158undefined reference to `__gthread_active_p'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(eh_alloc.o): In function 
`__gnu_cxx::__mutex::lock()':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:149: undefined reference to `__gthread_mutex_lock'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(eh_alloc.o): In function `__gnu_cxx::__mutex::unlock()':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:160: undefined reference to 
`__gthread_mutex_unlock'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(eh_alloc.o): In function `_ZN9__gnu_cxx7__mutexC4Ev'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:131undefined reference to `__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:132: undefined reference to 
`__gthread_mutex_init'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(eh_alloc.o): In function `_ZN9__gnu_cxx7__mutexD4Ev'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:139undefined reference to `__gthread_active_p'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(eh_alloc.o): In function 
`__static_initialization_and_destruction_0':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/concurrence.h:140: undefined reference to `__gthread_mutex_destroy'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(stdexcept.o): In function `__exchange_and_add_dispatch':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:81: undefined reference to 
`__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:81: undefined reference to `__gthread_active_p'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(cow-stdexcept.o): In function `__exchange_and_add_dispatch':
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:81: undefined reference to 
`__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:81: undefined reference to `__gthread_active_p'
/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:81undefined reference to `__gthread_active_p'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/../../../libstdc++.a(cow-stdexcept.o):/home/olasr/kod/amiga/adtools_gcc9_c17/native-build/gcc-native-build-9.1.0/ppc-amigaos/libstdc++-v3/include/ext/atomicity.h:81: more undefined references to 
`__gthread_active_p' follow
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/libgcc_eh.a(unwind-sjlj.o): In function `fc_key_init_once'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libgcc/unwind-sjlj.c:114undefined reference to `__gthread_once'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/libgcc_eh.a(unwind-sjlj.o): In function 
`_Unwind_SjLj_GetContext':
/home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libgcc/unwind-sjlj.c:147: undefined reference to `__gthread_getspecific'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/libgcc_eh.a(unwind-sjlj.o): In function `fc_key_init':
/home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libgcc/unwind-sjlj.c:107: undefined reference to 
`__gthread_key_create'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/libgcc_eh.a(unwind-sjlj.o): In function `_Unwind_SjLj_SetContext'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libgcc/unwind-sjlj.c:160undefined reference to `__gthread_setspecific'
/home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libgcc/unwind-sjlj.c:160: undefined reference to 
`__gthread_setspecific'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/libgcc_eh.a(unwind-sjlj.o): In function `_Unwind_SjLj_Register'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libgcc/unwind-sjlj.c:128undefined reference to `__gthread_getspecific'
/home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libgcc/unwind-sjlj.c:129: undefined reference to 
`__gthread_setspecific'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/libgcc_eh.a(unwind-sjlj.o): In function `_Unwind_SjLj_SetContext'
:
/
home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libgcc/unwind-sjlj.c:160undefined reference to `__gthread_setspecific'
/OS/SDK/adtools-os4-9-20210108-716/bin/../lib/gcc/ppc-amigaos/9.1.0/libgcc_eh.a(unwind-sjlj.o): In function 
`_Unwind_SjLj_GetContext':
/home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libgcc/unwind-sjlj.c:147: undefined reference to `__gthread_getspecific'
/home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libgcc/unwind-sjlj.c:147undefined reference to `__gthread_getspecific'
/home/olasr/kod/amiga/adtools_gcc9_c17/gcc/repo/libgcc/unwind-sjlj.c:147: undefined reference to 
`__gthread_getspecific'


No problems using GCC 8

Go to top
Re: gcc 9 and 10
Home away from home
Home away from home


See User information
@IAMSonic
You forget to add -athread=native. Those __ghtread errors coming from that. Strange that it works for gcc8, it should not as well. Or maybe you just have that set in gcc8 envs, and forgot to set now on new env.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: gcc 9 and 10
Home away from home
Home away from home


See User information
@sTix

gcc10 working as well as gcc9

Great work, thank you

Go to top
Re: gcc 9 and 10
Just popping in
Just popping in


See User information
@Kas1e

-athread=native was added already as a compiler flag but it works now when adding it as linker flag too. Compiling and linking steps are seperated in this makefile. GCC 8 doens't need that but will check GCC 8 envs later.

Go to top
Re: gcc 9 and 10
Just popping in
Just popping in


See User information
@sTix

Thanks for your efforts updating our compilers

Go to top
Re: gcc 9 and 10
Just popping in
Just popping in


See User information
@IamSONIC
Quote:
Thanks for your efforts updating our compilers

No problem, just scratching my own itches :)

Go to top
Re: gcc 9 and 10
Just popping in
Just popping in


See User information
@sTix

If you're running out of ideas what to do next you could have a look at the summary (Requirements compiling WebKit) hans created a while ago

https://www.amigans.net/modules/xforum ... id=119194#forumpost119194

Maybe the first two are interesting:

1. We need our C/C++ stdlib headers to be brought up-to-date with the latest standard. Especially cmath. Newlib is missing multiple functions (log2(), asinh(), etc.).
2. Newlib also has gaps in its POSIX compliance. It's missing basics such as tzset()**

Go to top

  Register To Post
« 1 (2) 3 4 5 ... 21 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project