Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » File missing while building TITAN from scratch(TITAN Build Github M4)
File missing while building TITAN from scratch [message #1790879] Tue, 19 June 2018 13:22 Go to next message
Yann Garcia is currently offline Yann GarciaFriend
Messages: 63
Registered: June 2016
Member
Hello Elemer,

I'm trying to rebuild TITAN from scratch to use GCC Memory Check mechanism on my projects but I got the following error message titan/titan.core//mctr2/editline/libedit/*.m4 in folder titan/titan.core/mctr2/editline.

May I ask you how to fix it please?

Many thanks in advance,

Have a nice day,
Yann
Re: File missing while building TITAN from scratch [message #1790881 is a reply to message #1790879] Tue, 19 June 2018 14:20 Go to previous messageGo to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 807
Registered: January 2015
Senior Member
Hi Yann,

what is the error message exactly?


Also, how exactly are you trying to activate memory check?
What's your Makefile?


Thanks

[Updated on: Tue, 19 June 2018 14:21]

Report message to a moderator

Re: File missing while building TITAN from scratch [message #1790882 is a reply to message #1790881] Tue, 19 June 2018 14:41 Go to previous messageGo to next message
Yann Garcia is currently offline Yann GarciaFriend
Messages: 63
Registered: June 2016
Member
Hello Elemer,

I did a clone (git clone https://github.com/eclipse/titan.core.git titan.core) and I ran a make in my new titan.core folder.
The build was progressing well until it reached the folder titan.core/mctr2/editline.

Have a nice evening,

Yann
Re: File missing while building TITAN from scratch [message #1790884 is a reply to message #1790882] Tue, 19 June 2018 15:09 Go to previous messageGo to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 807
Registered: January 2015
Senior Member
Hi Yann,

OK , but what's with the "GCC Memory Check" ?

What are you doing different from a plain vanilla build?

BR

Elemer

Re: File missing while building TITAN from scratch [message #1790907 is a reply to message #1790884] Wed, 20 June 2018 05:33 Go to previous messageGo to next message
Yann Garcia is currently offline Yann GarciaFriend
Messages: 63
Registered: June 2016
Member
Hello Elemer,

The point was that I got a duplicated free core while executing my ITS test suite. Using Valgrind did not help me to fix it (no memory leaks, no invalid pointers...).
So I want to try Sanitizer functionalities of GCC (see libasan.so). But to do it, I had to rebuild both TITAN and my ITS test suites with the same version of the GCC compiler (7.2.0).
And here I am: the build of TITAN failed due to missing m4 files.

Thanks a lot,

Yann
Re: File missing while building TITAN from scratch [message #1790912 is a reply to message #1790907] Wed, 20 June 2018 06:43 Go to previous messageGo to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 807
Registered: January 2015
Senior Member
Hi Yann,

OK so what you are saying is that your build of Titan with GCCC 7.2.0 failed, right?

So you do everything as before, the only change being that you switched from the previous GCC, whatever that would be, to GCC 7.2.0?


Thanks

Elemer



Re: File missing while building TITAN from scratch [message #1790916 is a reply to message #1790912] Wed, 20 June 2018 08:39 Go to previous messageGo to next message
Yann Garcia is currently offline Yann GarciaFriend
Messages: 63
Registered: June 2016
Member
Hello Elemer,

Yes, you're right.
Only GCC version was changed, but it's more about missing m4 files in the folder titan.core/mctr2/editline.
These kind of files are not generated, so I think either they are missing in Github repository or they are not used but a script is still looking for them.

Thanks,

Yann
Re: File missing while building TITAN from scratch [message #1790926 is a reply to message #1790916] Wed, 20 June 2018 09:36 Go to previous messageGo to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 807
Registered: January 2015
Senior Member
Hi Yann,

I'm sure it's something else ;

our continuous integration infrastructure is building Titan periodically - at least once a day - on several platforms and I have seen no problem lately.

But just to make sure I have built Titan from latest source with GCC 7.2.0 ten minutes ago again with no problem.

So could you please start from scratch ? and if the problem persists, upload all the logs and details of what you are doing, plus
OS, gcc , openssl versions, environment variables.


Best regards

Elemer

.



Re: File missing while building TITAN from scratch [message #1790986 is a reply to message #1790926] Thu, 21 June 2018 04:54 Go to previous messageGo to next message
Yann Garcia is currently offline Yann GarciaFriend
Messages: 63
Registered: June 2016
Member
Hello Elemer,

I restarted from scratch and it works fine now. I don't understand what was happening.
I'm sorry to bother you,

Have a nice day,

Yann
Re: File missing while building TITAN from scratch [message #1790988 is a reply to message #1790986] Thu, 21 June 2018 05:16 Go to previous message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 807
Registered: January 2015
Senior Member
Hi Yann,

Glad it was solved; no bother, that's why we are here :)

BR

Elemer
Previous Topic:File missing while building TITAN from scratch
Next Topic:decvalue_unichar and decmatch support
Goto Forum:
  


Current Time: Sat Sep 22 08:06:52 GMT 2018

Powered by FUDForum. Page generated in 0.01886 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top