Re: GSOC POSIX Compliance: Stuck trying to build Newlib

2021-06-15 Thread Vaibhav Gupta
give you an idea of how the $PATH works and how it should be modified. -- Vaibhav Gupta > > $ export PATH=${HOME}/rtems-work/tools/6/bin:$PATH > > And to check you have the PATH right, do something like this: > > $ type sparc-rtems6-gcc > sparc-rtems6-gcc is /home/joel/rtems-wor

Re: New coding style for new files?

2020-09-07 Thread Vaibhav Gupta
gree with your point. A few months back, I posted an issue regarding formatting style for nested conditional directives. And I guess the existing standard solve it too. Thanks Vaibhav Gupta > ___ > devel mailing list > devel@rtems.

Re: Proposal to add rule for nested CPP Directives in RTEMS coding conventions

2020-04-13 Thread Vaibhav Gupta
On Sat, 4 Apr 2020 at 01:44, Vaibhav Gupta wrote: > > > > On Sat, Apr 4, 2020, 1:41 AM Vijay Kumar Banerjee wrote: >> >> >> >> On Sat, Apr 4, 2020 at 1:22 AM Vaibhav Gupta >> wrote: >>> >>> CPP directives like: >>> 1) #if

Re: Proposal to add rule for nested CPP Directives in RTEMS coding conventions

2020-04-03 Thread Vaibhav Gupta
On Sat, Apr 4, 2020, 1:41 AM Vijay Kumar Banerjee wrote: > > > On Sat, Apr 4, 2020 at 1:22 AM Vaibhav Gupta > wrote: > >> CPP directives like: >> 1) #if >> 2) #ifdef >> 3) #ifndef >> 4) #elif >> 5) #else >> 6) #endif >>

Proposal to add rule for nested CPP Directives in RTEMS coding conventions

2020-04-03 Thread Vaibhav Gupta
directive (#if or #ifdef or #ifndef), make use of comments. ex: #ifdef /* To test/verify/enable xyz */ . #endif /* To test/verify/enable xyz */ --Vaibhav Gupta ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo

Re: [PATCH v11] tests for fenv.h functions

2020-04-03 Thread Vaibhav Gupta
On Sat, Apr 4, 2020, 1:01 AM Gedare Bloom wrote: > On Fri, Apr 3, 2020 at 1:11 PM Vaibhav Gupta > wrote: > > > > IMO we should have a rule for nested CPP directives. > > And also the commenting. It makes the code more readable > > as a part of good c

Re: [PATCH v11] tests for fenv.h functions

2020-04-03 Thread Vaibhav Gupta
IMO we should have a rule for nested CPP directives. And also the commenting. It makes the code more readable as a part of good coding style. Specially if the directives are nested, because they don't use brackets, too many opening-closing pair can make the code hard to read. -- Vaibhav Gupta

Re: [PATCH v11] tests for fenv.h functions

2020-04-03 Thread Vaibhav Gupta
> Good advice, Thanks! > although I'm not sure if we have these 2 things in our > conventions yet: nesting CPP conditional blocks, and comments on CPP > conditional blocks? > Well in that case I guess Eshan should re-work on patch and also make changes in wiki. -

Re: [PATCH v11] tests for fenv.h functions

2020-04-03 Thread Vaibhav Gupta
gt; * SPDX-License-Identifier: BSD-2-Clause > * > + * Copyright (C) 2020 Eshan Dhawan > * Copyright (C) 2019 Vaibhav Gupta > * > * Redistribution and use in source and binary forms, with or without > @@ -46,11 +47,12 @@ > #include > #include > #include > +

[PATCH v1] RTEMS Docs: Add steps for sphinxcontrib-bibtex

2020-04-03 Thread Vaibhav Gupta
Add step to install sphinxcontrib-bibtex together with the steps mentioned for ArcLinux, to install sphinx and dependencies. Signed-off-by: Vaibhav Gupta --- README.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/README.txt b/README.txt index 9fd2165..ce30505 100644 --- a/README.txt

Re: applying a patch

2020-04-02 Thread Vaibhav Gupta
> At #2 I also have the option to download a file. Then you can skip to > 4 and provide the filename on the git-am command line and be done. Yeah! Its just that I got used to copying to clipboard and providing it to git-am via stdin. We can of course do it both the ways. -- Vaibhav

Re: applying a patch

2020-04-02 Thread Vaibhav Gupta
wanna 'git pull' to load recent changes (if any). 4- type 'git am' and hit enter key. 5- Since no mailbox given, it will read from stdin, hence wait for your input. 6- Paste the content (ctrl+shift+v). 7- Press (ctrl+D) Patch will be applied -- Vaibhav Gupta _

Re: Ticket #2974 Enable search.h functionality in newlib

2020-03-23 Thread Vaibhav Gupta
On Mon, 23 Mar 2020 at 06:47, Gedare Bloom wrote: > On Sun, Mar 22, 2020 at 8:46 AM Joel Sherrill wrote: > > > > > > > > On Sun, Mar 22, 2020, 1:58 AM Vaibhav Gupta > wrote: > >>> > >>> > >>> > My very quick review shows t

Re: Sources to port fenv.h to ARM and AARCH64

2020-03-22 Thread Vaibhav Gupta
> > >> >> >> I have cloned this NetBSD Sources. As I can see those >> >> architecture-specific implemented methods here. Please correct me if I >> >> am looking into different than what you are looking for. >> >> >> >> ./lib/libm/arch/powerpc/fenv.c >> >> ./lib/libm/arch/sh/fenv.c >> >>

Re: Ticket #2974 Enable search.h functionality in newlib

2020-03-22 Thread Vaibhav Gupta
search.h. The headers in this directory need to be updated first. Me and Joel even had discussion about this in newlib mailing list but got no positive response from them. https://sourceware.org/pipermail/newlib/2019/017046.html https://lists.rtems.org/pipermail

Re: ANN: New Maintainer Vijay Kumar Bannerjee

2020-03-19 Thread Vaibhav Gupta
Congrats Vijay!! --Vaibhav Gupta ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: Project proposal for GSOC 2020

2020-03-12 Thread Vaibhav Gupta
ere is no edit access. File should be editable through the link and should have comment access. Also, update same on https://devel.rtems.org/wiki/GSoC/2020 . -- Vaibhav Gupta > > > I have worked on a few suggestions from Dr Gedare. > I also wanted to know who could be the mentor

Re: Review for my GSOC proposal: Static analysis integration

2020-03-08 Thread Vaibhav Gupta
On Mon, Mar 9, 2020, 10:40 AM suyash singh wrote: > Please review my proposal. Thank you > > This project is inspired by https://devel.rtems.org/ticket/3710 and from > the mail thread with subject > "Improve Coverity Scan Integration: GSOC project details" > > >

GSoC organizations list announced

2020-02-20 Thread Vaibhav Gupta
Congratulations. RTEMS ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: Status of implementation of fenv.h test suites

2020-02-20 Thread Vaibhav Gupta
all the functions of fenv.h: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/fenv.h.html -- Vaibhav Gupta > > -Eshan Dhawan > ___ > devel mailing list > devel@rtems.org > http://li

Re: GSOC: Call for Mentors

2020-02-19 Thread Vaibhav Gupta
Hello Gedare, I also want to Co-mentor a project. --Vaibhav Gupta On Tue, Feb 18, 2020, 11:21 AM Amaan Cheval wrote: > Hey! I'd like to co-mentor a project too. Thanks! > > On Tue, Feb 18, 2020 at 8:56 AM Vijay Kumar Banerjee < > vijaykumar9...@gmail.com> wrote: > >&

Re: Status of fenv.h header and floating point environment support in newlib

2020-02-17 Thread Vaibhav Gupta
know the work done till now. --Vaibhav Gupta > > First, the preferred origin of the implementation is another open source > project with FreeBSD and NetBSD being at the top of the list. For example, > here is the NetBSD implementation for the m68k: > > https://github.com/NetBS

Re: Status of fenv.h header and floating point environment support in newlib

2020-02-17 Thread Vaibhav Gupta
On Mon, Feb 17, 2020, 3:07 PM Ayush Dwivedi <21cencturyay...@gmail.com> wrote: > Hello Joel, > This is regarding the open project #2966 POSIX-Compliance #2971( Add > fenv.h to newlib). The task is about adding the floating point environment > header to the newlib library but the source code of

Re: Watch Solar Orbiter Launch

2020-02-09 Thread Vaibhav Gupta
This is very exciting! --Vaibhav On Mon, Feb 10, 2020, 8:32 AM Joel Sherrill wrote: > Hi > > If all goes well, the Solar Orbiter will launch late tonight New York time > or early Monday Europe time. > > >

Re: Need help with proof submission for Contribution Eligibilty

2020-02-06 Thread Vaibhav Gupta
On Thu, Feb 6, 2020, 4:15 PM Ayush Dwivedi <21cencturyay...@gmail.com> wrote: > Hello everyone, > > I am new to RTEMS community. I wish to contribute to the RTEMS project. I > read on the RTEMS gsoc getting started page that I am required to submit a > proof that I can contribute. Modifying the

Re: sparc-erc32 testsuites failures

2019-11-18 Thread Vaibhav Gupta
>> I know this, but the docs are not updated so should I send a pull request? >> >> >> On Mon, Nov 18, 2019 at 12:06 PM Vaibhav Gupta >> wrote: >> >>> >>> >>> On Mon, Nov 18, 2019, 11:12 AM Niteesh wrote: >>> >>>> On Mon,

Re: sparc-erc32 testsuites failures

2019-11-17 Thread Vaibhav Gupta
On Mon, Nov 18, 2019, 11:12 AM Niteesh wrote: > On Mon, Nov 18, 2019 at 3:17 AM Joel Sherrill wrote: > >> The instructions are out of date by a couple of months. The SPARC >> Instruction Simulator (sis) has seen significant enhancements and it's now >> a standalone program. It is not enabled as

Re: sparc-rtems-gdb doesn't recognize target "sim"

2019-11-13 Thread Vaibhav Gupta
You can also use "sis" 1- Open Terminal 1 and write: $ sparc-rtems5-sis -gdb # It will print 'gdb: listening on port 1234'. # Note you can define port number with '-port' option. 2-Open Terminal 2 and write: $ sparc-rtems5-gdb hello.exe # gdb asks for several inputs

Re: Add chapter for newib build in RTEMS Docs

2019-11-04 Thread Vaibhav Gupta
On Fri, Nov 1, 2019 at 11:14 PM Gedare Bloom wrote: > On Thu, Oct 31, 2019 at 5:14 AM Joel Sherrill wrote: > > > > > > > > On Thu, Oct 31, 2019, 1:30 AM Sebastian Huber < > sebastian.hu...@embedded-brains.de> wrote: > >> > >> On 30/10/2019

Re: Add chapter for newib build in RTEMS Docs

2019-10-30 Thread Vaibhav Gupta
So what's the final stand on this? Should be working on standalone guide or add the contents to RTEMS Software Engineering guide as suggested by Sebastian? --Vaibhav On Fri, Sep 13, 2019, 5:40 PM Vaibhav Gupta wrote: > Well I have no problem in working on standalone guide or add

Re: RTEMS Google Code-In 2019

2019-10-24 Thread Vaibhav Gupta
Hello everyone! I am interested in mentoring for Google Code-In 2019. -- Vaibhav Gupta On Fri, Oct 25, 2019, 1:28 AM Vijay Kumar Banerjee wrote: > > > > On Fri, Oct 25, 2019 at 12:58 AM Himanshu Sekhar Nayak < > himanshuwindows...@gmail.com> wrote: > >> Hi guys,

Re: Add chapter for newib build in RTEMS Docs

2019-09-13 Thread Vaibhav Gupta
Well I have no problem in working on standalone guide or adding it to Software Engineering Manual. I saw that most of the development related work, even about patches, were in User Manual, so I proposed it at first place. - Vaibhav On Fri, Sep 13, 2019 at 10:40 AM Sebastian Huber <

Re: Add chapter for newib build in RTEMS Docs

2019-09-13 Thread Vaibhav Gupta
Doxygen > + ... > > Yes, for now I have not much content as other docs are having. But the content I proposed are important ones. It will save enough time of future developers. And I am sure that content will be generated with development of newlib, other third party libraries, and R

Re: GSoC 2019 : POSIX Complaince - Fenv methods not returning expected outputs.

2019-08-27 Thread Vaibhav Gupta
Hello, Since this fenv environment is not working as expected, The testsuite I made in Linux environment is yet to be ported to RTEMS. Vaibhav Gupta On Thu, Aug 15, 2019 at 3:26 PM Vaibhav Gupta wrote: > Hello, > In yesterday's weekly meeting I mentioned about fenv problems I faced

Re: GSoC 2019 : POSIX Compliance - Final Report

2019-08-21 Thread Vaibhav Gupta
Here is the final report, published in my Blog. Please review it. https://medium.com/my-gsoc-2019-journey/gsoc-2019-posix-compliance-74571990c32a Vaibhav Gupta On Wed, Aug 21, 2019 at 12:21 AM Vaibhav Gupta wrote: > > > On Wed, Aug 21, 2019 at 12:15 AM Vaibhav Gupta

Re: GSoC Project Wrap Up Activities

2019-08-21 Thread Vaibhav Gupta
(http://flightsoftware.jhuapl.edu/) > Hello, I need the edit access and link to the slides. Thank you --Vaibhav Gupta > > + GSoC Project Summary: We usually do a blog/report/news item about GSoC. >1-3 paragraphs on your project is appreciated for this. I created a > Goo

Re: [PATCH v2] Add steps to test Newlib patch.

2019-08-20 Thread Vaibhav Gupta
the email chain is messing it up. >> >> Thanks. >> >> --joel >> >> On Mon, Aug 19, 2019 at 8:57 AM Vaibhav Gupta >> wrote: >> >>> Is it okay to push it?? >>> >>> --Vaibhav Gupta >>> >>> On Fri, Aug 16, 2019

Re: GSoC 2019 : POSIX Compliance - Final Report

2019-08-20 Thread Vaibhav Gupta
On Wed, Aug 21, 2019 at 12:15 AM Vaibhav Gupta wrote: > > > On Tue, Aug 20, 2019 at 9:31 PM Joel Sherrill wrote: > >> I am late to the party. > > The party is still on :D > >> I made a couple of small changes directly to >> the document. >> >

Re: GSoC 2019 : POSIX Compliance - Final Report

2019-08-20 Thread Vaibhav Gupta
"ndbm.h". I will update this in my report. --Vaibhav Gupta > > --joel > > On Fri, Aug 16, 2019 at 10:48 PM Vaibhav Gupta > wrote: > > > > Made the changes as suggested :) > > Please have a look at this now. If every thing is fine. > > I will pu

Re: [PATCH v2] Add steps to test Newlib patch.

2019-08-19 Thread Vaibhav Gupta
Is it okay to push it?? --Vaibhav Gupta On Fri, Aug 16, 2019 at 8:14 PM Vaibhav Gupta wrote: > Update the checksum to be used for the Newlib patches. > Earlier it was msd5, but it is depreciated for security > reasons. Now RSB accepts sha512. > --- > user/rsb/projec

Re: [PATCH v1] Add steps to test Newlib patch.

2019-08-18 Thread Vaibhav Gupta
--joel > > On Fri, Aug 16, 2019 at 10:03 AM Vaibhav Gupta > wrote: > > > > > > > > On Fri, Aug 16, 2019 at 8:16 PM Gedare Bloom wrote: > >> > >> Vaibhav, > >> > >> The use of the -vX is to differentiate patches that are

Re: GSoC 2019 : POSIX Compliance - Final Report

2019-08-16 Thread Vaibhav Gupta
Made the changes as suggested :) Please have a look at this now. If every thing is fine. I will publish it in my blog. -Vaibhav Gupta On Fri, Aug 16, 2019 at 7:57 PM Gedare Bloom wrote: > Vaibhav, > > Please add a subsection near the top that consolidates links to all > the co

Re: [PATCH v1] Add steps to test Newlib patch.

2019-08-16 Thread Vaibhav Gupta
ot clear in our contributing > guidelines, we probably need to improve the description... > > On Fri, Aug 16, 2019 at 8:32 AM Vaibhav Gupta > wrote: > > > > Sure, > > Actually made this patch on different branch so used -v1. > > Sending a new one with -v2. > >

[PATCH v2] Add steps to test Newlib patch.

2019-08-16 Thread Vaibhav Gupta
Update the checksum to be used for the Newlib patches. Earlier it was msd5, but it is depreciated for security reasons. Now RSB accepts sha512. --- user/rsb/project-sets.rst | 41 +-- 1 file changed, 35 insertions(+), 6 deletions(-) diff --git

Re: GSoC 2019 : POSIX Compliance - Final Report

2019-08-16 Thread Vaibhav Gupta
econds) to find what code > you wrote. > > On Thu, Aug 15, 2019 at 1:27 PM Vaibhav Gupta > wrote: > > > > Hello, > > I have made the draft of my project report on google docs. > > I have mentioned about each and every task completed > > and which are in pro

Re: [PATCH v1] Add steps to test Newlib patch.

2019-08-16 Thread Vaibhav Gupta
Sure, Actually made this patch on different branch so used -v1. Sending a new one with -v2. -Vaibhav On Fri, Aug 16, 2019, 7:58 PM Gedare Bloom wrote: > Then this should be sent with -v2. > > On Thu, Aug 15, 2019 at 1:33 PM Vaibhav Gupta > wrote: > > > > > > &g

Re: [PATCH v1] Remove back-slash in 'pacman' command in 'PDF' section under Arch Linux (installation of Sphinx).

2019-08-15 Thread Vaibhav Gupta
gt; after it sits for a few days. > > On Wed, Aug 14, 2019 at 11:44 PM Vaibhav Gupta > wrote: > > > > --- > > README.txt | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/README.txt b/README.txt > > index 3679d1d..1567be6 10

Re: [PATCH v1] Add steps to test Newlib patch.

2019-08-15 Thread Vaibhav Gupta
ased on what worked for me for number of times. I build the toolchain twice when RSB got updated, but my changes were not pushed so had to use patches in RSB. And these steps worked perfectly both times. -Vaibhav > > On Wed, Aug 14, 2019 at 11:45 PM Vaibhav Gupta > wrote: > &g

GSoC 2019 : POSIX Compliance - Final Report

2019-08-15 Thread Vaibhav Gupta
/1I3FsA0whd2AcLKdagUzins-JmWv1QTC6-0v0uvS1_7k/edit?usp=sharing . . Thank You Vaibhav Gupta ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: GSoC 2019: POSIX Compliance - FENV Environment probably not working properly in RISCV

2019-08-15 Thread Vaibhav Gupta
On Wed, Aug 14, 2019 at 8:56 PM Hesham Almatary wrote: > On Wed, 14 Aug 2019 at 16:18, Vaibhav Gupta > wrote: > > > > > > > > On Wed, Aug 14, 2019, 8:09 PM Joel Sherrill wrote: > >> > >> On Wed, Aug 14, 2019 at 9:35 AM Vaibhav Gupta > w

GSoC 2019 : POSIX Complaince - Fenv methods not returning expected outputs.

2019-08-15 Thread Vaibhav Gupta
#pragma STDC FENV_ACCESS [-Wunknown-pragmas] . . --Vaibhav Gupta From 3ed1e005dd7629c2b0501cac457a758f3103b1fe Mon Sep 17 00:00:00 2001 From: Vaibhav Gupta Date: Thu, 15 Aug 2019 15:09:28 +0530 Subject: [PATCH] Trial 10 --- testsuites/psxtests/Makefile.am | 8 ++ testsuites/psxtests

[PATCH v1] Add steps to test Newlib patch.

2019-08-14 Thread Vaibhav Gupta
Update the checksum to be used for the Newlib patches. Earlier it was msd5, but it is depreciated for security reasons. Now RSB accepts sha512. --- user/rsb/project-sets.rst | 41 +-- 1 file changed, 35 insertions(+), 6 deletions(-) diff --git

Fwd: [PATCH v1] Remove back-slash in 'pacman' command in 'PDF' section under Arch Linux (installation of Sphinx).

2019-08-14 Thread Vaibhav Gupta
--- README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.txt b/README.txt index 3679d1d..1567be6 100644 --- a/README.txt +++ b/README.txt @@ -247,7 +247,7 @@ Sphinx: PDF: - # pacman -S texlive-bin texlive-core texlive-latexextra texlive-fontsextra \ + #

Re: GSoC 2019: POSIX Compliance - FENV Environment probably not working properly in RISCV

2019-08-14 Thread Vaibhav Gupta
On Wed, Aug 14, 2019 at 8:56 PM Hesham Almatary wrote: > On Wed, 14 Aug 2019 at 16:18, Vaibhav Gupta > wrote: > > > > > > > > On Wed, Aug 14, 2019, 8:09 PM Joel Sherrill wrote: > >> > >> On Wed, Aug 14, 2019 at 9:35 AM Vaibhav Gupta > w

Re: GSoC 2019: POSIX Compliance - FENV Environment probably not working properly in RISCV

2019-08-14 Thread Vaibhav Gupta
On Wed, Aug 14, 2019, 8:09 PM Joel Sherrill wrote: > On Wed, Aug 14, 2019 at 9:35 AM Vaibhav Gupta > wrote: > > > > You are also getting same error :( > > I thought problem is with my system/laptop and was trying to correct > things. > > Should we take the discu

Re: GSoC 2019: POSIX Compliance - FENV Environment probably not working properly in RISCV

2019-08-14 Thread Vaibhav Gupta
You are also getting same error :( I thought problem is with my system/laptop and was trying to correct things. Should we take the discussion to newlib? Vaibhav Gupta On Wed, Aug 14, 2019 at 7:51 PM Joel Sherrill wrote: > > I ran it on sis built from the git repository. Unfortu

Re: GSoC 2019: POSIX Compliance - FENV Environment probably not working properly in RISCV

2019-08-14 Thread Vaibhav Gupta
On Wed, Aug 14, 2019 at 6:22 PM Hesham Almatary wrote: > On Sun, 11 Aug 2019 at 16:49, Vaibhav Gupta > wrote: > > > > Configure command I used to build BSP: > > == > > $ /home/varodek/development/rtems/kernel/rtems/conf

Re: GSoC 2019: POSIX Compliance - FENV Environment probably not working properly in RISCV

2019-08-14 Thread Vaibhav Gupta
/development/rtems/kernel/rv32imac/riscv-rtems5/c/rv32imac/testsuites/psxtests/psxfenv01.exe . . The screen just hangs here. Vaibhav Gupta On Wed, Aug 14, 2019 at 12:48 PM Jiri Gaisler wrote: > I have attached the sis manual. Page 17: > > "SIS can be connected to gdb through a networ

Re: GSoC 2019: POSIX Compliance - FENV Environment probably not working properly in RISCV

2019-08-14 Thread Vaibhav Gupta
usage: sis [-uart1 uart_device1] [-uart2 uart_device2] [-m ] [-dumbio] [-v] [-nfp] [-freq frequency] [-c batch_file] [files] = Vaibhav Gupta On Wed, Aug 14, 2019 at 5:14 PM Joel Sherrill wrote: > Thank you. > > Do you see anyth

Re: GSoC 2019: POSIX Compliance - FENV Environment probably not working properly in RISCV

2019-08-13 Thread Vaibhav Gupta
On Wed, Aug 14, 2019 at 4:04 AM Joel Sherrill wrote: > > > On Tue, Aug 13, 2019 at 5:09 PM Vaibhav Gupta > wrote: > >> >> >> On Mon, Aug 12, 2019 at 11:50 PM Joel Sherrill wrote: >> >>> Can you post or email me privately the full patch? I can tr

Re: GSoC 2019: POSIX Compliance - FENV Environment probably not working properly in RISCV

2019-08-13 Thread Vaibhav Gupta
RISC-V implementation? Look at the disassembly and see if > it > looks like you expect. > I am exploring for this. - Vaibhav Gupta > > Does this require a patch to newlib as well? > > --joel > > On Sun, Aug 11, 2019 at 10:49 AM Vaibhav Gupta >

Re: Not able to run riscv-rv32imac testsuites

2019-08-12 Thread Vaibhav Gupta
Okay. Thanks On Mon, Aug 12, 2019 at 3:00 PM Hesham Almatary < hesham.almat...@cl.cam.ac.uk> wrote: > On Mon, 12 Aug 2019 at 03:55, Vaibhav Gupta > wrote: > > > > > > > > On Mon, Aug 12, 2019, 12:01 AM Hesham Almatary < > hesham.almat...@cl.cam.ac.uk&

[PATCH v1] Add steps to test Newlib patch.

2019-08-12 Thread Vaibhav Gupta
Update the checksum to be used for the Newlib patches. Earlier it was msd5, but it is depreciated for security reasons. Now RSB accepts sha512. --- user/rsb/project-sets.rst | 41 +-- 1 file changed, 35 insertions(+), 6 deletions(-) diff --git

[PATCH v1] Remove back-slash in 'pacman' command in 'PDF' section under Arch Linux (installation of Sphinx).

2019-08-11 Thread Vaibhav Gupta
--- README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.txt b/README.txt index 3679d1d..1567be6 100644 --- a/README.txt +++ b/README.txt @@ -247,7 +247,7 @@ Sphinx: PDF: - # pacman -S texlive-bin texlive-core texlive-latexextra texlive-fontsextra \ + #

Re: Not able to run riscv-rv32imac testsuites

2019-08-11 Thread Vaibhav Gupta
On Mon, Aug 12, 2019, 12:01 AM Hesham Almatary wrote: > > > On Sun, 11 Aug 2019 at 16:11, Vaibhav Gupta > wrote: > >> But I am not able to run: >> >> qemu-system-riscv64 -no-reboot -nographic -machine virt -m 256M -kernel >> hello.exe >> >&

Re: GSoC 2019: POSIX Compliance - FENV Environment probably not working properly in RISCV

2019-08-11 Thread Vaibhav Gupta
) + endif + == On Sun, Aug 11, 2019 at 8:36 PM Vaibhav Gupta wrote: > My code of testsuite: > === > /* Test 'FE_DIVBYZERO' */ > puts( "\nDivide by zero and confirm fetestexcept()."

Re: Not able to run riscv-rv32imac testsuites

2019-08-11 Thread Vaibhav Gupta
But I am not able to run: qemu-system-riscv64 -no-reboot -nographic -machine virt -m 256M -kernel hello.exe On Fri, Aug 9, 2019 at 2:53 PM Vaibhav Gupta wrote: > I was able to run rv32imac using > > qemu-system-riscv32 -no-reboot -nographic -machine virt -m 256M -kernel > hello.

GSoC 2019: POSIX Compliance - FENV Environment probably not working properly in RISCV

2019-08-11 Thread Vaibhav Gupta
= - fetestexcept( FE_DIVBYZERO ), should return a non-zero value as division-by-zero was performed. . - feraiseexcept(FE_DIVBYZERO); is also not working. It should return zero when successful . ========== Thank You Vaibhav Gupta _

Re: Not able to run riscv-rv32imac testsuites

2019-08-09 Thread Vaibhav Gupta
I was able to run rv32imac using qemu-system-riscv32 -no-reboot -nographic -machine virt -m 256M -kernel hello.exe On Tue, Aug 6, 2019 at 9:04 PM Vaibhav Gupta wrote: > Awesome, thanks! > > On Tue, Aug 6, 2019 at 8:50 PM Hesham Almatary < > hesham.almat...@cl.cam.ac.uk> wrot

Re: Not able to run riscv-rv32imac testsuites

2019-08-06 Thread Vaibhav Gupta
https://docs.rtems.org/branches/master/user/bsps/bsps-riscv.html > > On Tue, 6 Aug 2019 at 14:52, Vaibhav Gupta > wrote: > > > > I am getting following error: > > . > > . > > $ rtems-test --rtems-bsp=rv32imac_spike > --rtems-tools=$HOME/development/rtems/5

Re: Not able to run riscv-rv32imac testsuites

2019-08-06 Thread Vaibhav Gupta
I am getting following error: . . $ rtems-test --rtems-bsp=rv32imac_spike --rtems-tools=$HOME/development/rtems/5 ~/development/rtems/kernel/rv32imac/riscv-rtems5/c/rv32imac/testsuites/samples RTEMS Testing - Tester, 5.0.not_released Command Line: /home/varodek/development/rtems/5/bin/rtems-test

Re: Not able to run riscv-rv32imac testsuites

2019-08-06 Thread Vaibhav Gupta
On Tue, Aug 6, 2019 at 2:36 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > > > On 06/08/2019 10:54, Vaibhav Gupta wrote: > > Getting this error: > > $ rtems-test --rtems-bsp=rv32imac > > --rtems-tools=$HOME/development/rtems/5 > > >

Re: Not able to run riscv-rv32imac testsuites

2019-08-06 Thread Vaibhav Gupta
test like hello.exe, like i do for sparc: $ sparc-rtems-run ./hello.exe Because i need to test my testsuite. Vaibhav Gupta On Tue, Aug 6, 2019 at 2:10 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 06/08/2019 10:33, Vaibhav Gupta wrote: > > But when I am trying to

Not able to run riscv-rv32imac testsuites

2019-08-06 Thread Vaibhav Gupta
printed on my terminal. Vaibhav Gupta ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: RISCV BSP

2019-08-05 Thread Vaibhav Gupta
that. For now I wanted to test my code for testsuite. Basic tests for now, then can move to Floating Point Unit. > > On Fri, Aug 2, 2019 at 10:27 AM Vaibhav Gupta > wrote: > > > > Thanks a lot. > > Then I will be working with "rv32imac" and "rv64imac"

Re: RISCV BSP

2019-08-02 Thread Vaibhav Gupta
Thanks a lot. Then I will be working with "rv32imac" and "rv64imac" Vaibhav Gupta On Fri, Aug 2, 2019 at 1:33 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 02/08/2019 09:50, Vaibhav Gupta wrote: > > Hello, > > I was about to

RISCV BSP

2019-08-02 Thread Vaibhav Gupta
Hello, I was about to test the testsuite code, need to confirm on which RISCV BSP we are going to work? For example, for ARM I was asked for xilinx-zynq So is there any specific one for riscv too, or should I build any of it? Vaibhav Gupta ___ devel

Re: GSoC 2019 : POSIX Compliance - Weekly Report

2019-07-30 Thread Vaibhav Gupta
On Tue, Jul 30, 2019 at 7:23 PM Joel Sherrill wrote: > > > On Tue, Jul 30, 2019 at 7:44 AM Vaibhav Gupta > wrote: > >> >> >> On Tue, Jul 30, 2019 at 3:25 AM Gedare Bloom wrote: >> >>> On Wed, Jul 24, 2019 at 10:43 AM Vaibhav Gupta >

Re: GSoC 2019 : POSIX Compliance - Weekly Report

2019-07-30 Thread Vaibhav Gupta
On Tue, Jul 30, 2019 at 8:49 PM Joel Sherrill wrote: > > > On Tue, Jul 30, 2019 at 10:15 AM Vaibhav Gupta > wrote: > >> >> >> On Tue, Jul 30, 2019 at 7:23 PM Joel Sherrill wrote: >> >>> >>> >>> On Tue, Jul 30, 2019 at 7:44 AM

Re: GSoC 2019 : POSIX Compliance - Weekly Report

2019-07-30 Thread Vaibhav Gupta
On Tue, Jul 30, 2019 at 7:23 PM Joel Sherrill wrote: > > > On Tue, Jul 30, 2019 at 7:44 AM Vaibhav Gupta > wrote: > >> >> >> On Tue, Jul 30, 2019 at 3:25 AM Gedare Bloom wrote: >> >>> On Wed, Jul 24, 2019 at 10:43 AM Vaibhav Gupta >

Re: GSoC 2019 : POSIX Compliance - Weekly Report

2019-07-30 Thread Vaibhav Gupta
On Tue, Jul 30, 2019 at 3:25 AM Gedare Bloom wrote: > On Wed, Jul 24, 2019 at 10:43 AM Vaibhav Gupta > wrote: > > > > Hello, > > Progress so far: > > - NDBM patch is pushed by newlib. > > - NDBM Testsuite is sent to devel ([PATCH V6] ndbm test suite), i

Re: [PATCH v6] ndbm test suite

2019-07-29 Thread Vaibhav Gupta
On Tue, Jul 30, 2019 at 12:11 AM Joel Sherrill wrote: > > > On Mon, Jul 29, 2019 at 1:07 PM Vaibhav Gupta > wrote: > >> >> >> On Mon, Jul 29, 2019 at 10:44 PM Joel Sherrill wrote: >> >>> >>> >>> On Mon, Jul 29, 2019 at 11:35

Re: [PATCH v6] ndbm test suite

2019-07-29 Thread Vaibhav Gupta
On Mon, Jul 29, 2019 at 10:44 PM Joel Sherrill wrote: > > > On Mon, Jul 29, 2019 at 11:35 AM Vaibhav Gupta > wrote: > >> Thanks Joel! >> . >> Now when the testsuite patch is successfully accepted, I would like >> to add an example in: >>

Re: [PATCH v6] ndbm test suite

2019-07-29 Thread Vaibhav Gupta
thread. That time he guided me for this as there is no example about in on the trac pag. . Vaibhav Gupta On Mon, Jul 29, 2019 at 9:33 PM Joel Sherrill wrote: > Hi > > Now pushed. Thanks. > > I finally got a local sparc tool chain built with the git master of newlib > to buil

Re: newlib ndbm documentation

2019-07-25 Thread Vaibhav Gupta
> newlib markup. > > https://github.com/freebsd/freebsd/blob/master/lib/libc/db/man/dbm.3 > > Thoughts > Let's move with 1st option. I will need to find about this method and newlib markup. I will send a patch on devel for verification. Vaibhav Gupta > > --joel > __

Re: GSoC 2019 : POSIX Compliance- Low pace in last week

2019-07-24 Thread Vaibhav Gupta
newlib that you have found code for? > > --joel > > On Wed, Jul 24, 2019 at 10:56 AM Vaibhav Gupta > wrote: > >> Hello, >> I want to apologise that I couldn't inform earlier, actually my time >> table got hectic. >> My college started last week and their init

GSoC 2019 : POSIX Compliance - Weekly Report

2019-07-24 Thread Vaibhav Gupta
. Blocker: - My pace got slow last week as my college started, I informed about it on devel. Next: - Implement fenv for SPARC first, then move on to ARM, PPC and others. Thank You Vaibhav Gupta ___ devel mailing list devel@rtems.org http://lists.rtems.org

Re: GSoC 2019 : POSIX Compliance- Low pace in last week

2019-07-24 Thread Vaibhav Gupta
they are compiled, the 'include/fenv.h' and '/fenv.h' gets combined i guess. 2. Or we can have only architecture specific headers which contain function prototypes and macros in one single file for every architecture. > --joel > > On Wed, Jul 24, 2019 at 10:56 AM Vaibhav Gup

GSoC 2019 : POSIX Compliance- Low pace in last week

2019-07-24 Thread Vaibhav Gupta
Vaibhav Gupta ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH v6] ndbm test suite

2019-07-23 Thread Vaibhav Gupta
..a1eff4bd67 --- /dev/null +++ b/testsuites/psxtests/psxndbm01/init.c @@ -0,0 +1,299 @@ +/** + * @file + * @brief Test suite for ndbm.h methods + */ + +/* + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (C) 2019 Vaibhav Gupta + * + * Redistribution and use in source and binary forms

[PATCH v5] ndbm test suite

2019-07-20 Thread Vaibhav Gupta
/testsuites/psxtests/psxndbm01/init.c @@ -0,0 +1,299 @@ +/** + * @file + * @brief Test suite for ndbm.h methods + */ + +/* + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (C) 2019 Vaibhav Gupta + * + * Redistribution and use in source and binary forms, with or without + * modification

Re: [PATCH v4] ndbm test suite

2019-07-20 Thread Vaibhav Gupta
On Fri, Jul 19, 2019 at 2:12 AM Gedare Bloom wrote: > On Thu, Jul 18, 2019 at 11:05 AM Vaibhav Gupta > wrote: > > > > --- > > testsuites/psxtests/Makefile.am | 7 + > > testsuites/psxtests/configure.ac | 1 + > > testsu

[PATCH v4] ndbm test suite

2019-07-18 Thread Vaibhav Gupta
/testsuites/psxtests/psxndbm01/init.c @@ -0,0 +1,305 @@ +/** + * @file + * @brief Test suite for ndbm.h methods + */ + +/* + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (C) 2019 Vaibhav Gupta + * + * Redistribution and use in source and binary forms, with or without + * modification

Re: Sources for fenv (ARM, PPC, x86, SPARC and RISC5)

2019-07-17 Thread Vaibhav Gupta
On Wed, Jul 17, 2019 at 11:42 PM Gedare Bloom wrote: > On Tue, Jul 16, 2019 at 6:57 AM Joel Sherrill wrote: > > > > Let's give preference to FreeBSD sources. Notes below. > > > > On Wed, Jul 3, 2019 at 1:08 PM Vaibhav Gupta > wrote: > >> > &g

Re: Sources for fenv (ARM, PPC, x86, SPARC and RISC5)

2019-07-17 Thread Vaibhav Gupta
On Tue, Jul 16, 2019 at 6:26 PM Joel Sherrill wrote: > Let's give preference to FreeBSD sources. Notes below. > > On Wed, Jul 3, 2019 at 1:08 PM Vaibhav Gupta > wrote: > >> Hello, >> I have found sources for fenv. >> >> 1.1) - ARM FreeBSD Source: >&

Re: [PATCH v3] ndbm test suite

2019-07-17 Thread Vaibhav Gupta
On Wed, Jul 17, 2019, 11:46 PM Gedare Bloom wrote: > On Wed, Jul 17, 2019 at 11:09 AM Vaibhav Gupta > wrote: > > > > Thanks for the review! > > I will re generate the patch with corrections > > > > On Wed, Jul 17, 2019 at 10:12 PM Gedare Bloom wrote: >

Re: [PATCH v3] ndbm test suite

2019-07-17 Thread Vaibhav Gupta
Thanks for the review! I will re generate the patch with corrections On Wed, Jul 17, 2019 at 10:12 PM Gedare Bloom wrote: > On Wed, Jul 10, 2019 at 1:49 AM Vaibhav Gupta > wrote: > > > > --- > > testsuites/psxtests/Makefile.am | 7 + > > testsuites/p

Re: GSoC 2019 | POSIX Compliance - RSB patch generated ndbm library (lib_a-ndbm.o) successfully in RTEMS Toolchain

2019-07-15 Thread Vaibhav Gupta
On Mon, Jul 15, 2019 at 10:21 PM Gedare Bloom wrote: > On Thu, Jul 11, 2019 at 9:01 PM Vaibhav Gupta > wrote: > > > > Sounds good to me. > > > > On Thu, Jul 11, 2019 at 6:47 PM Joel Sherrill wrote: > >> > >> > >> > >> On Thu,

GSoC 2019 | POSIX Compliance - Location for fenv files for sparc

2019-07-15 Thread Vaibhav Gupta
/include/fenv.h This contains some macros. Where should this go?? Thank you Vaibhav Gupta ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: GSoC 2019 | POSIX Compliance - RSB patch generated ndbm library (lib_a-ndbm.o) successfully in RTEMS Toolchain

2019-07-11 Thread Vaibhav Gupta
Sounds good to me. On Thu, Jul 11, 2019 at 6:47 PM Joel Sherrill wrote: > > > On Thu, Jul 11, 2019 at 2:12 AM Vaibhav Gupta > wrote: > >> Hello, >> After Joel pointed out in an offlist discussion, >> I made a new patch for ndbm port. >> . >>

  1   2   3   >