Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
49 user(s) are online (40 user(s) are browsing Forums)

Members: 0
Guests: 49

more...

Headlines

Forum Index


Board index » All Posts (afxgroup)




Re: New verson of CLiB2 from Andrea (afxgroup)
Amigans Defender
Amigans Defender


I've just push some changes that should (read more..) fix the shared objects problem. But something really strange happens.

Basically if I compile the library with DEBUG=true (means serial output) everything works correctly, while if I disable debug I have a DSI in printf (or however no output) when it try to use stdout because the f->position has a wrong value.
I mean if i use static linking or shared libc.so with DEBUG on f->position is zero. If I use libc.so with NO DEBUG f->position is 3539005. I'm pretty sure that position is zero when iob is initialized (there is a memset) but i've also forced all positions fields to zero..
I've checked inside #ifdef DEBUG and there is nothing that can be related to iob..
Which weird amigaos animal can cause this?

i'm really tired...
Go to top


Re: binutils 2.23.2
Amigans Defender
Amigans Defender


Yes. I remember the problem on gprof not generating correct code due the 0x100000000 but the problem seems different
Because even the linux one doesn't find the .debug_ranges section.
So even if you fix the problem with start address you will have something that is not working because a section seems totally missing

i'm really tired...
Go to top


Re: osdepot certificate not updated?
Amigans Defender
Amigans Defender


Well,
I've tried https://www.moneysavingexpert.com with Opera on Windows and the check is shown also there. So the problem is not on Odissey certificate or TLS. It is a check they have enabled. Something like "I'm under attack" but since JS code is not working on odissey the page doesn't work

i'm really tired...
Go to top


binutils 2.23.2
Amigans Defender
Amigans Defender


Well, let's start a new thread.
I was testing grprof with clib2.
File are created correctly but if I try to use gprof on gmon.out I receive a lot of DWARF errors.

ppc-amigaos-gprof test_grpof gmon.out analysis.txt
BFD
Dwarf Errorfound dwarf version '5'this reader only handles version 2and 4 information.
BFDDwarf Errorfound dwarf version '0'this reader only handles version 2and 4 information.
BFDDwarf Errorfound dwarf version '5405'this reader only handles version 2and 4 information.
BFDDwarf Errorfound dwarf version '295'this reader only handles version 2and 4 information.
BFDDwarf Errorfound dwarf version '207'this reader only handles version 2and 4 information.
BFDDwarf Errorfound dwarf version '5352'this reader only handles version 2and 4 information.
BFDDwarf Errorfound dwarf version '68'this reader only handles version 2and 4 information.
BFDDwarf Errorfound dwarf version '0'this reader only handles version 2and 4 information.
BFDDwarf Errorfound dwarf version '1024'this reader only handles version 2and 4 information.
BFDDwarf Errorfound dwarf version '35332'this reader only handles version 2and 4 information.
BFDDwarf Errorfound dwarf version '26990'this reader only handles version 2and 4 information.
BFDDwarf Errorfound dwarf version '260'this reader only handles version 2and 4 information.
....
more..


If I use the linux one i get this error:
gprof test_grpof gmon.out analysis.txt
BFD
DWARF errorcan't find .debug_ranges section.
BFD: DWARF error: can'
t find .debug_ranges section.
BFDDWARF errorcan't find .debug_ranges section.
BFD: DWARF error: can'
t find .debug_ranges section.


So there is something that is causing a lot of problems in our generated exe files
Any hint?

i'm really tired...
Go to top


Re: Qt 6 progress
Amigans Defender
Amigans Defender


great mate! Now let's fix the other problems :)

i'm really tired...
Go to top


Re: x5000 benchmarks / speed up
Amigans Defender
Amigans Defender


All Exec functions are optimized for CPUs. All newlib code is in Exec. So you have to use Exec functions since they are always optimized for the current machine. Maybe they aren't for x5000 but only kernel developers know

i'm really tired...
Go to top


Re: Qt 6 progress
Amigans Defender
Amigans Defender


you could try curl and see if https is working correctly

i'm really tired...
Go to top


Re: Qt 6 progress
Amigans Defender
Amigans Defender


Take a look at snoopy output

i'm really tired...
Go to top


Re: osdepot certificate not updated?
Amigans Defender
Amigans Defender


No. this is not working

i'm really tired...
Go to top


Re: New verson of CLiB2 from Andrea (afxgroup)
Amigans Defender
Amigans Defender


@kas1e
package updated

i'm really tired...
Go to top


Re: Qt 6 progress
Amigans Defender
Amigans Defender


@elfpipe

it is linked against amissl or openssl?

i'm really tired...
Go to top


Re: Qt 6 progress
Amigans Defender
Amigans Defender


I doubt a virus for OS4 exists..
smartmontools is from 2005.. hope it will work. you should try smartctl and see what happens

i'm really tired...
Go to top


Re: Qt 6 progress
Amigans Defender
Amigans Defender


You mean smart for amigaos for example?

i'm really tired...
Go to top


Re: New verson of CLiB2 from Andrea (afxgroup)
Amigans Defender
Amigans Defender


Beta 8 released and changes merged into master

https://github.com/afxgroup/clib2/releases/tag/v1.0.0-beta-8

i'm really tired...
Go to top


Re: Qt 6 progress
Amigans Defender
Amigans Defender


I don't think it is a "code" problem because if you use the static version you don't have any problem at all. The problems you have appears only when using .so version of the file

i'm really tired...
Go to top


Re: Qt 6 progress
Amigans Defender
Amigans Defender


@joerg

I'm pretty sure that sh/crtbegin/end code is working correctly.
I'm reading that some people (not on amiga land) has a similar problem when using libstdc++.so.
And I'm 100% sure that we had a problem with libstdc++.so. Even in the past with newlib we had problems. I remember very well I've always deleted libstdc++.so because there was problems with it and you can search the forum there and you will see
This post is from 2011 but there are plenty of them.
And at that time newlib was the only library that had .so files

i'm really tired...
Go to top


Re: Qt 6 progress
Amigans Defender
Amigans Defender


@joerg

Well, the crashes I had in this days where caused by latest beta elf.library and i've just asked elfpipe to check.
Regard my crash in libstdc++ unfortunately it is in the right order

==================================================
attempt to open /usr/lib/gcc/ppc-amigaos/11.1.0/clib2/gthr-amigaos-native.o succeeded
/usr/lib/gcc/ppc-amigaos/11.1.0/clib2/gthr-amigaos-native.o
attempt to open 
/usr/ppc-amigaos/SDK/clib2/lib/crtbegin.o succeeded
/usr/ppc-amigaos/SDK/clib2/lib/crtbegin.o
attempt to open 
/usr/ppc-amigaos/SDK/clib2/lib/crt0.o succeeded
/usr/ppc-amigaos/SDK/clib2/lib/crt0.o
attempt to open 
/tmp/cc0308en.o succeeded
/tmp/cc0308en.o
attempt to open 
/usr/ppc-amigaos/SDK/clib2/lib/libstdc++.so failed
attempt to open 
/usr/ppc-amigaos/SDK/clib2/lib/libstdc++.a failed
attempt to open 
/usr/lib/gcc/ppc-amigaos/11.1.0/clib2/lib/libstdc++.so failed
attempt to open 
/usr/lib/gcc/ppc-amigaos/11.1.0/clib2/lib/libstdc++.a failed
attempt to open 
/usr/ppc-amigaos/SDK/local/clib2/lib/libstdc++.so failed
attempt to open 
/usr/ppc-amigaos/SDK/local/clib2/lib/libstdc++.a failed
attempt to open 
/usr/ppc-amigaos/SDK/local/common/lib/libstdc++.so failed
attempt to open 
/usr/ppc-amigaos/SDK/local/common/lib/libstdc++.a failed
attempt to open 
/usr/lib/gcc/ppc-amigaos/11.1.0/clib2/libstdc++.so failed
attempt to open 
/usr/lib/gcc/ppc-amigaos/11.1.0/clib2/libstdc++.a failed
attempt to open 
/usr/lib/gcc/ppc-amigaos/11.1.0/../../../../ppc-amigaos/lib/clib2/libstdc++.so succeeded
-lstdc++ (/usr/lib/gcc/ppc-amigaos/11.1.0/../../../../ppc-amigaos/lib/clib2/libstdc++.so)
attempt to open /usr/ppc-amigaos/SDK/clib2/lib/libm.so succeeded
-lm (/usr/ppc-amigaos/SDK/clib2/lib/libm.so)
attempt to open /usr/ppc-amigaos/SDK/clib2/lib/libgcc.so failed
attempt to open 
/usr/ppc-amigaos/SDK/clib2/lib/libgcc.a failed
attempt to open 
/usr/lib/gcc/ppc-amigaos/11.1.0/clib2/lib/libgcc.so failed
attempt to open 
/usr/lib/gcc/ppc-amigaos/11.1.0/clib2/lib/libgcc.a failed
attempt to open 
/usr/ppc-amigaos/SDK/local/clib2/lib/libgcc.so failed
attempt to open 
/usr/ppc-amigaos/SDK/local/clib2/lib/libgcc.a failed
attempt to open 
/usr/ppc-amigaos/SDK/local/common/lib/libgcc.so failed
attempt to open 
/usr/ppc-amigaos/SDK/local/common/lib/libgcc.a failed
attempt to open 
/usr/lib/gcc/ppc-amigaos/11.1.0/clib2/libgcc.so succeeded
-lgcc (/usr/lib/gcc/ppc-amigaos/11.1.0/clib2/libgcc.so)
attempt to open /usr/ppc-amigaos/SDK/clib2/lib/libc.so succeeded
-lc (/usr/ppc-amigaos/SDK/clib2/lib/libc.so)
attempt to open /usr/ppc-amigaos/SDK/clib2/lib/libgcc.so failed
attempt to open 
/usr/ppc-amigaos/SDK/clib2/lib/libgcc.a failed
attempt to open 
/usr/lib/gcc/ppc-amigaos/11.1.0/clib2/lib/libgcc.so failed
attempt to open 
/usr/lib/gcc/ppc-amigaos/11.1.0/clib2/lib/libgcc.a failed
attempt to open 
/usr/ppc-amigaos/SDK/local/clib2/lib/libgcc.so failed
attempt to open 
/usr/ppc-amigaos/SDK/local/clib2/lib/libgcc.a failed
attempt to open 
/usr/ppc-amigaos/SDK/local/common/lib/libgcc.so failed
attempt to open 
/usr/ppc-amigaos/SDK/local/common/lib/libgcc.a failed
attempt to open 
/usr/lib/gcc/ppc-amigaos/11.1.0/clib2/libgcc.so succeeded
-lgcc (/usr/lib/gcc/ppc-amigaos/11.1.0/clib2/libgcc.so)
attempt to open /usr/ppc-amigaos/SDK/clib2/lib/crtend.o succeeded
/usr/ppc-amigaos/SDK/clib2/lib/crtend.o
/mnt/d/Sviluppo/Amiga/clib2/build/lib/libc.so needed by /usr/ppc-amigaos/SDK/clib2/lib/libm.so
found libc
.so at /mnt/d/Sviluppo/Amiga/clib2/build/lib/libc.so

i'm really tired...
Go to top


Re: Qt 6 progress
Amigans Defender
Amigans Defender


@joerg

Quote:

The failed attempts to get libc_clib2.so working were very likely much more work...

Beta 7 released has a working libc.so since months. The problem is when I try to use libstdc++.so because stream constructors are called before libc.so one and I get a DSI. Now my attempts to get that library to work, has broken something

Quote:

The AmigaOS4 parts were based on the RS6000 ones (especially the linker scripts, but probably other parts as well), if they are still maintained that should be the base of an update.

Linker scripts seems ok. They seems to contain all modern way to use constructors. So they should not be an issue
And if you use gcc with -Wl,--verbose you will se the current one that is almost complete

i'm really tired...
Go to top


Re: osdepot certificate not updated?
Amigans Defender
Amigans Defender


Funny.. i've just tried both https://www.bhphotovideo.com and https://ko-fi.com/walkhero on Odissey with my Sam440 and they are working correctly..

i'm really tired...
Go to top


Re: osdepot certificate not updated?
Amigans Defender
Amigans Defender


I've tried almost all web sites I have on cloudflare and everything is working correctly. So most probably is something that is set Cloudflare side in those particular side that is raising captcha up. I suspect is something in SSL configuration (and Timberwolf test is the best candidate)
Unfortunately without having a web site that has that problem I can't check in the firewall why captcha is shown.
Maybe if @walkero has access to cloudflare could check what is wrong

i'm really tired...
Go to top



TopTop
« 1 ... 5 6 7 (8) 9 10 11 ... 55 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project