Development mailing list

Syndicate content
Archive of posts for haiku-development at FreeLists
Updated: 14 min 22 sec ago

[haiku-development] Re: Help needed with the unit testing framework (pulkomandy)

2 hours 14 min ago
On Mon, Jul 28, 2014 at 08:33:59PM +0200, Ingo Weinhold wrote: On 28.07.2014 12:54, pulkomandy wrote: Knowing that this only happens with gcc2, I think it somehow misses the fact that the method is virtual when compiling the base class, and generates a direct call instead of a virtual one (going through the vtable). It's fairly easy to verify/refute that theory by using objdump on the code that invokes the method (objdump -D --demangle ...). If you build with debug info you can even interleave the disassembly with the source code (-S option). ...
Categories: Development

[haiku-development] Re: Help needed with the unit testing framework (Ingo Weinhold)

2 hours 14 min ago
On 28.07.2014 12:54, pulkomandy wrote: Knowing that this only happens with gcc2, I think it somehow misses the fact that the method is virtual when compiling the base class, and generates a direct call instead of a virtual one (going through the vtable). It's fairly easy to verify/refute that theory by using objdump on the code that invokes the method (objdump -D --demangle ...). If you build ...
Categories: Development

[haiku-development] Re: Help needed with the unit testing framework [...] (Oliver Tappe)

2 hours 14 min ago
Hi, On 2014-07-28 at 17:48:05 [+0200], James Leone linuxcpa@xxxxxxxxx wrote: What happens if you run strace? Nothing of interest, I suppose, as it's rather unlikely that any syscalls are cause of the problem. On 2014-07-28 at 17:55:23 [+0200], James Leone linuxcpa@xxxxxxxxx wrote: Could the linker have somehow mis-assigned a gcc 2 library to a gcc 4 ...
Categories: Development

[haiku-development] Re: Help needed with the unit testing framework (pulkomandy)

2 hours 14 min ago
On Mon, Jul 28, 2014 at 08:55:23AM -0700, James Leone wrote: Could the linker have somehow mis-assigned a gcc 2 library to a gcc 4 library? This would bomb at link time, or at worst, the runtime loader would find undefined references in the resulting executable and refuse to run it. I'm fairly sure our buildsystem is safe of such issues, anyway. Any dependency have python or perl in there? If so do any of the scripts ...
Categories: Development

[haiku-development] Re: Help needed with the unit testing framework (James Leone)

2 hours 14 min ago
Could the linker have somehow mis-assigned a gcc 2 library to a gcc 4 library? Any dependency have python or perl in there? If so do any of the scripts have /usr/local paths embedded? Any possibility one these things wants write access to / or /boot/system? On Jul 28, 2014 8:48 AM, James Leone linuxcpa@xxxxxxxxx wrote: What happens if you run strace? ...
Categories: Development

[haiku-development] Re: Help needed with the unit testing framework (James Leone)

2 hours 14 min ago
What happens if you run strace? On Jul 28, 2014 5:39 AM, pulkomandy pulkomandy@xxxxxxxxxxxxx wrote: And what if you add a virtual ~UnitTesterShell() ? That didn't help. -- Adrien. ...
Categories: Development

[haiku-development] Re: Help needed with the unit testing framework (pulkomandy)

2 hours 14 min ago
And what if you add a virtual ~UnitTesterShell() ? That didn't help. -- Adrien. ...
Categories: Development

[haiku-development] Re: Help needed with the unit testing framework (François Revol)

2 hours 14 min ago
On 28/07/2014 12:54, pulkomandy wrote: On Mon, Jul 28, 2014 at 11:46:56AM +0200, Stephan Aßmus wrote: Hi, Am 28.07.2014 10:04, schrieb pulkomandy: The methods are virtual, and the signature of the override is the matching. They both have protected visibility, which should be fine. So I don't understand why the overriden methods are never called. Do you have an idea what the problem is? I probably missed something obvious but I can't see the issue... ...
Categories: Development

[haiku-development] Re: Help needed with the unit testing framework (pulkomandy)

2 hours 14 min ago
On Mon, Jul 28, 2014 at 11:46:56AM +0200, Stephan Aßmus wrote: Hi, Am 28.07.2014 10:04, schrieb pulkomandy: The methods are virtual, and the signature of the override is the matching. They both have protected visibility, which should be fine. So I don't understand why the overriden methods are never called. Do you have an idea what the problem is? I probably missed something obvious but I can't see the issue... ...
Categories: Development

[haiku-development] Re: Help needed with the unit testing framework (Stephan Aßmus)

2 hours 14 min ago
Hi, Am 28.07.2014 10:04, schrieb pulkomandy: The methods are virtual, and the signature of the override is the matching. They both have protected visibility, which should be fine. So I don't understand why the overriden methods are never called. Do you have an idea what the problem is? I probably missed something obvious but I can't see the issue... ...
Categories: Development

[haiku-development] Re: Help needed with the unit testing framework (Axel Dörfler)

2 hours 14 min ago
On July 28, 2014 at 10:04 AM pulkomandy pulkomandy@xxxxxxxxxxxxx wrote: The methods are virtual, and the signature of the override is the matching. They both have protected visibility, which should be fine. So I don't understand why the overriden methods are never called. Do you have an idea what the problem is? I probably missed something obvious but I can't see the issue... I ran into this some years ago now, too. The code seems to be flawless, though, and it does work without issues when you use it in GCC4. AFAICT, the problem could have two sources: ...
Categories: Development

[haiku-development] Help needed with the unit testing framework (pulkomandy)

2 hours 14 min ago
Hello everyone, Some months ago I got the unit testing framework in Haiku to compile agan, and some tests to run. However, there is one thing not working as expected in the framework and I can't figure out why. Maybe some extra pairs of eyes on the code will help. The framework is built around the UnitTester class [1] which is a subclass of BTestShell [2]. We override 3 protected methods to adds some information to the help text, and more importantly to load the tests that live next to the UnitTester executable automatically. This should ...
Categories: Development

[haiku-development] Re: Building Haiku and tools: configure script bugs (Thomas Mueller)

2 hours 14 min ago
Le 26 juil. 2014 08:00, Thomas Mueller mueller6723@xxxxxxx a =E9crit : Has Haiku been built from OpenBSD but NetBSD failed, or is NetBSD just untested? please check the status for your platform in the notes. Bye J=E9r=F4me ...
Categories: Development

[haiku-development] Re: Building Haiku and tools: configure script bugs (Oliver Tappe)

2 hours 14 min ago
Hi Tom, [please do not cc gcc@xxxxxxxxxxxxxxx, I'm subscribed to the Haiku mailing lists, so I'm getting your mails twice] On 2014-07-26 at 07:59:37 [+0200], Thomas Mueller mueller6723@xxxxxxx wrote: I first had the problem that, when I typed ./configure --help, it wouldn't help: gcc: not found Now I get, from FreeBSD in an xterm ...
Categories: Development

[haiku-development] Re: Release management commit access (pulkomandy)

2 hours 14 min ago
- We might not be able to recreate the prebuilt HaikuPorts packages This one is true. However, in recent weeks, I've rebuilt packages during the KDELibs porting process and uploaded them and nothing has broken so far. Francois has done the same with no catastrophes either. The only real problem then is the fact that FFMpeg does not build on GCC4, which I'm working on currently and should have a fix for soon enough. There is more to it. The problem here is we are going to ship the alpha with a fixed set of packages, and we want to make sure all of them are installable and work as expected. Our package base is much bigger than ...
Categories: Development

[haiku-development] Re: Building Haiku and tools: configure script bugs (Jérôme Duval)

2 hours 14 min ago
Le 26 juil. 2014 08:00, Thomas Mueller mueller6723@xxxxxxx a écrit : Has Haiku been built from OpenBSD but NetBSD failed, or is NetBSD just untested? please check the status for your platform in the notes. Bye Jérôme ...
Categories: Development

[haiku-development] Re: VOTE commit access for Augustin (Humdinger)

2 hours 14 min ago
On 25 July 2014 17:19, pulkomandy pulkomandy@xxxxxxxxxxxxx wrote: I did, at about the same time Augustin did, but his proposal got more support, apparently. I think it was also suggested back then, that you two could work as a team. That seems to me like the best way to go. In past release phases it was discovered that it's really too much for a single person to sort it all out. Now we have two people that want to work towards the next release. ...
Categories: Development

[haiku-development] Building Haiku and tools: configure script bugs (Thomas Mueller)

2 hours 14 min ago
I first had the problem that, when I typed ./configure --help, it wouldn't help: gcc: not found Now I get, from FreeBSD in an xterm [arlene1164@amelia2 ~/haiku/haiku/generated.473-nodl]$ ../configure HAIKU_CC_x86_gcc2=gcc47 --build-crosstools x86_gcc2 ../../buildtools --build-crosstools x86 --use-xattr-ref --include-gpl-addons --include 3rdparty ../configure: gcc: not found ...
Categories: Development

[haiku-development] Release management commit access (Augustin Cavalier)

2 hours 14 min ago
This is definitely an issue. The biggest law in open source is that if you want something done, ask those who know how nicely. Then do that thing yourself if they don't have the time. Mea culpa. Beginner's mistake, it won't happen again. I promise. I wish the topic of him being not ready to be a release coordinator role came up more ...
Categories: Development

[haiku-development] Re: VOTE commit access for Augustin (pulkomandy)

2 hours 14 min ago
On Fri, Jul 25, 2014 at 10:13:32AM -0500, Alexander von Gluck IV wrote: I wish the topic of him being not ready to be a release coordinator role came up more when he was proposing it on the ML. By staying quiet the community really hasn't directed him to back away from being the RC. I don't think he is ready either, but I couldn't say much after my release coordinator rage quit. I now have 0 free time and won't have any for quite some time. (which is why I was ...
Categories: Development