Development mailing list

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

[haiku-development] Need some advice on motherboards (Dane Scott - TuneTracker Systems)

Mon, 2014-08-18 13:45
Hey guys, Anybody know if FM2 A88 motherboards work with Haiku? I know A85s work, but those seem to be getting phased out. I posted this to the main Haiku list but no bites. Pretty urgent need if anybody has any insights. Thanks, Dane ...
Categories: Development

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

Mon, 2014-08-18 13:45
On 29.07.2014 16:26, pulkomandy wrote: 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). ...
Categories: Development

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

Mon, 2014-08-18 13:45
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)

Mon, 2014-08-18 13:45
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)

Mon, 2014-08-18 09:45
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)

Mon, 2014-08-18 07:45
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)

Sun, 2014-08-17 07:45
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)

Sun, 2014-08-17 03:45
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)

Sun, 2014-08-17 03:45
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)

Sun, 2014-08-17 01:45
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)

Sun, 2014-08-17 01:45
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)

Sun, 2014-08-17 01:45
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)

Sat, 2014-08-16 15:45
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)

Sat, 2014-08-16 15:45
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)

Sat, 2014-08-16 03:45
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)

Sat, 2014-08-16 01:45
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)

Sat, 2014-08-16 01:45
- 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)

Fri, 2014-08-15 15:45
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)

Fri, 2014-08-15 11:45
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)

Fri, 2014-08-15 11:45
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