Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
43 user(s) are online (29 user(s) are browsing Forums)

Members: 1
Guests: 42

sailor, more...

Headlines

Forum Index


Board index » All Posts (elfpipe)




Re: Qt 6 progress
Just can't stay away
Just can't stay away


@ferrels

That is probably true. I can see, that -fPIC is used as flag in the build files, but unused for this build. I am aiming at a static build, so it is probably correct, that it is checked off. The assembly described here is autogenerated by some executable as part of the build. I am unsure, if I should go any more into it. I have replaced .quad by .long and hope, that it will not break too many things.

Go to top


Re: Qt 6 progress
Just can't stay away
Just can't stay away


Q : What am I to do with these?

Quote:


FAILED: obj/v8/v8_snapshot/embedded.o
ppc-amigaos-gcc -MMD -MF obj/v8/v8_snapshot/embedded.o.d -DOFFICIAL_BUILD -DTOOLKIT_QT -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64 -DENABLE_MINOR_MC -DV8_ATOMIC_OBJECT_FIELD_WRITES -DV8_ATOMIC_MARKING_STATE -DV8_ENABLE_LAZY_SOURCE_POSITIONS -DV8_SHARED_RO_HEAP -DV8_WIN64_UNWINDING_INFO -DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH -DV8_SNAPSHOT_COMPRESSION -DV8_ENABLE_WEBASSEMBLY -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -DV8_TARGET_ARCH_PPC -DV8_TARGET_ARCH_PPC_LE -DDISABLE_UNTRUSTED_CODE_MITIGATIONS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -I. -Igen -I../../../../../src/3rdparty/chromium -I../../../../../src/3rdparty/chromium/v8 -I../../../../../src/3rdparty/chromium/v8/include -Igen/v8 -Igen/v8/include -g0 -c gen/v8/embedded.S -o obj/v8/v8_snapshot/embedded.o
gen/v8/embedded.S: Assembler messages:
gen/v8/embedded.S:49626: Error: reloc 1 not supported by object file format
gen/v8/embedded.S:49633: Error: reloc 1 not supported by object file format



This is the assembly :

Quote:


...
49625 v8_Default_embedded_blob_code_:
49626 .quad v8_Default_embedded_blob_code_data_
...



Edited by alfkil on 2021/11/15 16:10:04
Go to top


Re: Qt 6 progress
Just can't stay away
Just can't stay away


@ferrels

Your tip helped, and I am now continuing. We are at < 1000 files.

Go to top


Re: Qt 6 progress
Just can't stay away
Just can't stay away


Guys... I have come uppon this problem. It might be a killer. Please consult and confirm :

Quote:


In file included from ../../../../../src/3rdparty/chromium/v8/src/codegen/callable.h:8,
from ../../../../../src/3rdparty/chromium/v8/src/codegen/code-factory.h:8,
from ./../../../../../src/3rdparty/chromium/v8/src/codegen/code-factory.cc:5,
from gen/v8/v8_base_without_compiler_jumbo_6.cc:9:
../../../../../src/3rdparty/chromium/v8/src/codegen/interface-descriptors.h:475:18: error: expected identifier before ‘,’ token
475 | ##__VA_ARGS__, \
| ^



There is some problem with gcc and what appears to be a builtin trick in the compiler : ##__VA_ARGS__

If this proves to be an incompatibility with the current selection of gcc toolchain options for OS 4.1, then I am not going to continue with the build. Sorry. This is too much already. We might as well build something from scratch, then.

Go to top


Re: Qt 6 progress
Just can't stay away
Just can't stay away


@trgswe

I'm covered ;). And the body count is this:

Current counter

Go to top


Re: Qt 6 progress
Just can't stay away
Just can't stay away


@trgswe

Well spotted! I have found this structure in crashpad/util/posix/signals.cc :

constexpr int kTerminateSignals[] = {
    
SIGALRM,
    
SIGHUP,
    
SIGINT,
    
SIGPIPE,
    
SIGPROF,
    
SIGTERM,
    
SIGUSR1,
    
SIGUSR2,
    
SIGVTALRM,
#if defined(SIGPWR)
    
SIGPWR,
#endif  // defined(SIGPWR)
#if defined(SIGSTKFLT)
    
SIGSTKFLT,
#endif  // defined(SIGSTKFLT)
#if defined(OS_APPLE)
    
SIGXCPU,
    
SIGXFSZ,
#endif  // defined(OS_APPLE)
#if defined(OS_LINUX) || defined(OS_CHROMEOS)
    
SIGIO,
#endif  // defined(OS_LINUX) || defined(OS_CHROMEOS)
};


I think my strategy so far is to turn off the flags leading to the crashpad (module responsible for crash reports). But it is nice to know, if I later need to turn it back on.

Go to top


Re: Qt 6 progress
Just can't stay away
Just can't stay away


@LiveForIt

Thanks! It helped - I found it.


Edited by alfkil on 2021/11/2 22:33:30
Go to top


Re: Qt 6 progress
Just can't stay away
Just can't stay away


@afxgroup

Thanks!

@thread

Now - I have gotten so far, that the compiler is beginning to link some command line executables. One of them prints out this:

obj/v8/libv8_libbase.a(time.o): In function `copysign':
time.cc:(.text.unlikely+0x0): multiple definition of 
`copysign'
obj/v8/libv8_libbase.a(platform-posix.o):platform-posix.cc:(.text.unlikely+0x0): first defined here
obj/v8/libv8_libbase.a(random-number-generator.o): In function `copysign'
:
random-number-generator.cc:(.text.unlikely+0x0): multiple definition of `copysign'
obj/v8/libv8_libbase.a(platform-posix.o):platform-posix.cc:(.text.unlikely+0x0): first defined here


There doesn't seem to be any direct reference to 'copysign' in any of the three files referred. There is, however, some of these :

// Return the largest multiple of m which is <= x.
template <typename T>
inline T RoundDown(T xintptr_t m) {
  
STATIC_ASSERT(std::is_integral<T>::value);
  
// m must be a power of two.
  
DCHECK(!= && ((& (1)) == 0));
  return 
static_cast<T>(-m);
}
template <intptr_t mtypename T>
constexpr inline T RoundDown(T x) {
  
STATIC_ASSERT(std::is_integral<T>::value);
  
// m must be a power of two.
  
STATIC_ASSERT(!= && ((& (1)) == 0));
  return 
static_cast<T>(-m);
}


Could these be related ? Are there any other good suggestions to where I should look for the multiple references ?

Go to top


Re: Qt 6 progress
Just can't stay away
Just can't stay away


@salass00

Elementary. How could I miss this??

Go to top


Re: Qt 6 progress
Just can't stay away
Just can't stay away



Go to top


Re: Qt 6 progress
Just can't stay away
Just can't stay away


@Chris

Ok, that's quite useful. I will use this.

@All
Now - upon linking, I am getting lots of these:

Quote:
...bla-bla : Underfined reference to __stack_chk_guard (etc)


I think, I have been here before. Is there a straightforward solution, or do I need to do this :

Solution to __stack_chk_guard problem

Go to top


Re: Qt 6 progress
Just can't stay away
Just can't stay away


@trgswe

Yes.

From dos.h
Quote:

#define SIGBREAKB_CTRL_C 12
#define SIGBREAKB_CTRL_D 13
#define SIGBREAKB_CTRL_E 14
#define SIGBREAKB_CTRL_F 15


From tasks.h
Quote:

enum enTaskSignalBits
{
SIGB_ABORT = 0,
SIGB_CHILD = 1,
SIGB_BLIT = 4, /* Note: same as SINGLE */
SIGB_SINGLE = 4, /* Note: same as BLIT */
SIGB_INTUITION = 5,
SIGB_NET = 7,
SIGB_DOS = 8
};


And here...


I'm convinced, that this list is exhaustive. I'm wondering, if it will be included in later versions of the os.

Here is another one : What is the Amiga equivalent of CLOCK_BOOTTIME ?

Go to top


Re: Qt 6 progress
Just can't stay away
Just can't stay away


Spurious question : What is the equivalent of SIGPROF in AmigaOS 4.1 ?

Go to top


Re: Qt 6 progress
Just can't stay away
Just can't stay away


Today, counting skills are important for the youth :

Counter : [ 10 / 24631 ]

Go to top


Re: Qt 6 progress
Just can't stay away
Just can't stay away


@walkero

Quote:

What do you mean by that and what this means from the host build to run into AmigaOS 4?


It basically means, that I am fooling around with you. Qt 5 and 6 need each module to build a version coherent set of host tools in order to make the cross target work. These are what you see. The rest is shrouded in darkness...

Go to top


Re: Qt 6 progress
Just can't stay away
Just can't stay away


Just to keep you all psyched - these are from the host build :

Opening screen

Home, sweet home

What we all wish for

What we are dealing with

Hope this is enough to spark your interests! I bet that you can make sweet deals with your local bookmaker/artist union for guesses on the timeframe. ;)

Go to top


Re: Qt 6 progress
Just can't stay away
Just can't stay away


@Antique

Thanks, it is good to be back :).

And just because there have been no new posts on the subject lately, doesn't mean, that I have stopped working. I just had a good vacation in Copenhagen last week, where I also played a gig on a local legendary jazz club. This week I will work on Qt to see, what new stuff, I can come up with. So hopefully there will be some quite exciting news at the end of the week.

Go to top


Re: Qt 6 progress
Just can't stay away
Just can't stay away


@walkero

Thanks for the support! This means a lot, and I am happy to let you know, that I will work hard to make a finalized project.

At the moment I have been waiting in vain for a piece of equipment, that was sent to the wrong address. This gadget is a donation from Bill Borsari, and I have been trippin' to get it home. I will go buy one soon from a regular Danish store. The plan is to do a streaming event on Twitch. Here I will show, what I have been working on with the Qt port and maybe play some music. It will take a few weeks, before I can set it up, because I am busy elsewhere. Also there is AmiWest, so I'd better wait not to be streamed all away :).

Thanks for the support, guys. It is quite exiting stuff, and I will make sure to take the beast home in a comfortable manner.

Go to top


Re: Qt 6 progress
Just can't stay away
Just can't stay away


@samo79

Hi Samo79! Good to see you again.

I did a little bit of copy pasting for the input functions, but apart from that everything is organized completely different in the newest version, and there is very little possibility of reuse. But that is not necessarily bad, since the new organization of the platform dependent code makes it much, much easier to direct the inputs and ouputs necessary for platform function.

I think I will just open my PayPal account for donations. It is located at alfkil@gmail.com.

If someone wants to test the current state, I am going to post a build manual soon on the git page. It would be good to see someone else than me build the code, so it doesn't get lost in case, you know...

Go to top


Re: Qt 6 progress
Just can't stay away
Just can't stay away


@walkero

Well... I have put an awefull lot of work into it already, and what I have now is actually quite finished except for a few things. I think Qt license allows me to charge for use of my software, as long as I leave the sources open (they are already available). My gut is always to just give away in the hope of someone gaining happiness from usage in the other end. But maybe I would increase value by adding a small fee?

I would probably just want to ask people around here : Do you prefer a free product and possibility of donating by heart, or do you want me to set up something on AmiStore or elsewhere? I would probably feel best about doing, what the community wants and not be too creative. My feeling is, that people are more than happy to donate responsibly, so maybe that is my first choice.

Go to top



TopTop
« 1 ... 9 10 11 (12) 13 14 15 ... 74 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project