Re: error: your copy of LLDB does not support scripting.

2015-10-09 Thread Rui Paulo
a way to configure LLDB with script support? I think you need to use the ports lldb. -- Rui Paulo ___ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Re: Kernel compilation failures with gcc 4.9

2015-03-31 Thread Rui Paulo
from > /builds/FreeBSD_HEAD_external_toolchain_gcc/sys/modules/aesni/../../crypto/aesni/aesni_ghash.c:69: > /builds/FreeBSD_HEAD_external_toolchain_gcc/sys/sys/malloc.h:177:6: note: > previous declaration of 'free' was here > void free(void *addr,

Re: Fails to build sys/i386/boot2 with gcc 4.9

2015-03-29 Thread Rui Paulo
r decided to inline a few functions. Unfortunately, I never saw any difference between -Os and -O2 in all of my tests (boot2 and other code). -- Rui Paulo ___ freebsd-toolchain@freebsd.org mailing list http://lists.freebsd.org/mailman/listinf

[Differential] [Accepted] D2156: Switch to ELF toolchain readelf

2015-03-27 Thread rpaulo (Rui Paulo)
rpaulo accepted this revision. rpaulo added a reviewer: rpaulo. REVISION DETAIL https://reviews.freebsd.org/D2156 To: emaste, imp, bapt, rpaulo Cc: freebsd-toolchain ___ freebsd-toolchain@freebsd.org mailing list http://lists.freebsd.org/mailman/listi

[Differential] [Changed Subscribers] D2003: Do not strip crunched binary; it will be done by install

2015-03-03 Thread rpaulo (Rui Paulo)
rpaulo added a subscriber: rpaulo. rpaulo added a comment. How is install(1) executed? What controls "stripping" via install(1) is the STRIP make variable, so if I set that to null, won't that also avoid stripping crunched binaries? Is that expected? REVISION DETAIL https://reviews.freebsd.

[Differential] [Accepted] D1826: libdwarf: Add symbol value when processing .rela relocations

2015-02-11 Thread rpaulo (Rui Paulo)
rpaulo accepted this revision. rpaulo added a comment. I agree with kib that this deserves a comment. And perhaps add another comment in D1819 explaining why it isn't needed for .rel relocations. REVISION DETAIL https://reviews.freebsd.org/D1826 To: emaste, kostikbel, rpaulo Cc: freebsd-tool

[Differential] [Accepted] D1819: libdwarf: Handle .rel relocations

2015-02-11 Thread rpaulo (Rui Paulo)
rpaulo added a subscriber: rpaulo. rpaulo accepted this revision. rpaulo added a reviewer: rpaulo. rpaulo added a comment. This revision is now accepted and ready to land. Reviewed. REVISION DETAIL https://reviews.freebsd.org/D1819 To: emaste, gnn, rpaulo Cc: rpaulo, freebsd-toolchain

[Differential] [Accepted] D1682: Preserve hard & symbolic links when modifying source file

2015-01-27 Thread rpaulo (Rui Paulo)
rpaulo accepted this revision. rpaulo added a reviewer: rpaulo. This revision is now accepted and ready to land. REVISION DETAIL https://reviews.freebsd.org/D1682 To: emaste, rpaulo Cc: freebsd-toolchain ___ freebsd-toolchain@freebsd.org mailing list

[Differential] [Commented On] D1428: readelf: Handle note types from different operating systems

2015-01-03 Thread rpaulo (Rui Paulo)
rpaulo added a comment. >>! In D1428#5, @emaste wrote: >>>! In D1428#3, @rpaulo wrote: >> This looks odd. Why are we relying on magic numbers instead of >> constants/enums like before? > > Some of the constants in the previous version are Linux-specific, and don't > exist in our ELF headers. >

[Differential] [Changed Subscribers] D1428: readelf: Handle note types from different operating systems

2015-01-03 Thread rpaulo (Rui Paulo)
rpaulo added a subscriber: rpaulo. rpaulo added a comment. This looks odd. Why are we relying on magic numbers instead of constants/enums like before? REVISION DETAIL https://reviews.freebsd.org/D1428 To: emaste Cc: rpaulo, freebsd-toolchain ___ fr

Re: Is this a compiler bug?

2014-09-21 Thread Rui Paulo
On Sep 21, 2014, at 18:48, Steve Kargl wrote: > On Sun, Sep 21, 2014 at 06:38:48PM -0700, Rui Paulo wrote: >> On Sep 21, 2014, at 18:19, Steve Kargl >> wrote: >>> >>> #include >>> #include >>> >>> int >>> main(vo

Re: Is this a compiler bug?

2014-09-21 Thread Rui Paulo
On Sep 21, 2014, at 18:38, Rui Paulo wrote: > On Sep 21, 2014, at 18:19, Steve Kargl > wrote: >> >> #include >> #include >> >> int >> main(void) >> { >> uint16_t i; >> i = 0x3ff0+63; printf("%x\n", i); >>

Re: Is this a compiler bug?

2014-09-21 Thread Rui Paulo
i = 0x3ff8+63; printf("%x\n", i); > i = 0x3ff9+63; printf("%x\n", i); > i = 0x3ffa+63; printf("%x\n", i); > i = 0x3ffb+63; printf("%x\n", i); > i = 0x3ffc+63; printf("%x\n", i); > i = 0x3ffd

Re: abi::__cxa_demangle provides invalid result on non-mangled symbols

2014-06-10 Thread Rui Paulo
On Jun 9, 2014, at 19:44, Ed Maste wrote: > I had the same issue in LLVM, and as hacky as it seems, the solution > is to check that the name starts with "_Z" before passing it to > __cxa_demangle. This is what I also did for lib

Re: [CFT] Update to clang 3.4

2014-01-06 Thread Rui Paulo
LGPL libdwarf. Given the push to keep the tree mostly BSD licenced, I would say the former. -- Rui Paulo ___ freebsd-toolchain@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to &q

Re: GCC withdraw

2013-08-25 Thread Rui Paulo
On 25 Aug 2013, at 00:24, Slawa Olhovchenkov wrote: > On Sun, Aug 25, 2013 at 12:13:15AM -0700, Rui Paulo wrote: > >> On 24 Aug 2013, at 16:06, Steve Kargl >> wrote: >> >>> On Sat, Aug 24, 2013 at 11:44:38PM +0100, David Chisnall wrote: >>>>

Re: GCC withdraw

2013-08-25 Thread Rui Paulo
ild error log. >> >> Please file clang bugs at http://llvm.org/bugs/ >> > > As if this is going to help. > > http://llvm.org/bugs/show_bug.cgi?id=8532 > > 2 years, 9 month and counting. Irrelevant to the dis

Re: [CFT] gcc: support for barcelona

2013-05-28 Thread Rui Paulo
individuals pushing the > change to clang actually tests clang on floating point > intensive applications, it is IMHO dubious to even have > clang as the default compiler. Just the latest example: > > http://lists.freebsd.org/pipermail/f

Re: [CFT] gcc: support for barcelona

2013-05-27 Thread Rui Paulo
on the general direction of this work. We switched to Clang as the default compiler for i386/amd64 some months ago and now you're working on improving our base GCC especially for amd64? I don't really understand how useful this is. It doesn't strike me as a good idea to see people wor

Re: [poc] buildkernel + clang + -Werror

2011-11-06 Thread Rui Paulo
On Nov 6, 2011, at 4:36 PM, Warner Losh wrote: > On Nov 6, 2011, at 2:13 PM, Rui Paulo wrote: >> The only argument against this tautological check that I agree with is when >> the code is explicitly trying to be safe. If the developer checks for "i < >> 0"

Re: [poc] buildkernel + clang + -Werror

2011-11-06 Thread Rui Paulo
ng to be safe. If the developer checks for "i < 0" when indexing an array he/she is trying to guard against possible pitfalls in the future when someone suddenly decides to change the variable type to become signed. One possible security vulnerability was avoi