Re: [patch] add ELFv2 check to FreeBSD PowerPC64

2015-12-01 Thread Andreas Tobler
On 29.11.15 22:15, Andreas Tobler wrote: Hi all, I'd like to commit this patch to trunk. It is FreeBSD only. If nobody objects I'll commit it within two days. Thanks, Andreas 2015-11-29 Andreas Tobler <andre...@gcc.gnu.org> * config/rs6000/freebsd64.h (ELFv2_ABI_CHECK): A

Re: [PATCH] fix PR65726

2015-12-01 Thread Andreas Tobler
On 30.11.15 23:30, Jeff Law wrote: On 11/26/2015 11:49 AM, Andreas Tobler wrote: Hi all, the attached patch fixes the build issue from this ticket if bootstrap is disabled. Tested on x86_64-*-linux* and on x86_64-*-freebsd* with gcc and clang. Ok for trunk? And 5.3? Thanks, Andreas 2015

Re: [patch] c/c++ asan tests for FreeBSD

2015-11-30 Thread Andreas Tobler
On 30.11.15 17:22, Jakub Jelinek wrote: On Mon, Nov 30, 2015 at 05:17:29PM +0100, Bernd Schmidt wrote: On 11/30/2015 01:12 PM, Andreas Tobler wrote: On 30.11.15 11:28, Bernd Schmidt wrote: On 11/29/2015 08:32 PM, Andreas Tobler wrote: -/* { dg-do run { target { *-*-linux* } } } */ +/* { dg

Re: [patch] c/c++ asan tests for FreeBSD

2015-11-30 Thread Andreas Tobler
On 30.11.15 11:28, Bernd Schmidt wrote: On 11/29/2015 08:32 PM, Andreas Tobler wrote: Hi all, the attached patch prepares the testsuite, c and c++, for the upcoming ASAN support for FreeBSD (x86_64 first). I tested the patch on CentOS7.1 x86_64 and on FreeBSD x86_64. Results can be seen

[patch] c/c++ asan tests for FreeBSD

2015-11-29 Thread Andreas Tobler
Hi all, the attached patch prepares the testsuite, c and c++, for the upcoming ASAN support for FreeBSD (x86_64 first). I tested the patch on CentOS7.1 x86_64 and on FreeBSD x86_64. Results can be seen on the list. Is this ok for trunk? Thanks, Andreas 2015-11-29 Andreas Tobler <an

[patch] RFC asan support for i?86/x86_64-*freebsd*

2015-11-29 Thread Andreas Tobler
does not need to link against -ldl. That is why I added an extra config check. But nevertheless I'd like to get some comments on the patch. Thanks to Jakub and Dan McGregor. Thanks, Andreas 2015-11-29 Andreas Tobler <andre...@gcc.gnu.org> * config/i386/i386.h: Define two new

Re: [patch] c/c++ asan tests for FreeBSD

2015-11-29 Thread Andreas Tobler
On 29.11.15 20:32, Andreas Tobler wrote: Hi all, the attached patch prepares the testsuite, c and c++, for the upcoming ASAN support for FreeBSD (x86_64 first). I tested the patch on CentOS7.1 x86_64 and on FreeBSD x86_64. Results can be seen on the list. Is this ok for trunk? Aehm, an add

[patch] add ELFv2 check to FreeBSD PowerPC64

2015-11-29 Thread Andreas Tobler
Hi all, I'd like to commit this patch to trunk. It is FreeBSD only. If nobody objects I'll commit it within two days. Thanks, Andreas 2015-11-29 Andreas Tobler <andre...@gcc.gnu.org> * config/rs6000/freebsd64.h (ELFv2_ABI_CHECK): Add new

[PATCH] fix PR65726

2015-11-26 Thread Andreas Tobler
Hi all, the attached patch fixes the build issue from this ticket if bootstrap is disabled. Tested on x86_64-*-linux* and on x86_64-*-freebsd* with gcc and clang. Ok for trunk? And 5.3? Thanks, Andreas 2015-11-26 Andreas Tobler <andre...@gcc.gnu.org> PR libffi

Re: [patch] FreeBSD x86_64/i386 apply r125920

2015-11-24 Thread Andreas Tobler
On 18.11.15 21:49, Andreas Tobler wrote: On 16.11.15 23:20, Andreas Tobler wrote: Hi all, I'm going to apply the below patch to trunk if there are no objections. There are no regressions. From our pov, we should be in sync with Linux here. Also, I'm going to push this one out to 5.x after

Re: [patch] FreeBSD x86_64/i386 apply r125920

2015-11-18 Thread Andreas Tobler
On 16.11.15 23:20, Andreas Tobler wrote: Hi all, I'm going to apply the below patch to trunk if there are no objections. There are no regressions. From our pov, we should be in sync with Linux here. Also, I'm going to push this one out to 5.x after one week. Committed on trunk as r230565

[patch] FreeBSD x86_64/i386 apply r125920

2015-11-16 Thread Andreas Tobler
Hi all, I'm going to apply the below patch to trunk if there are no objections. There are no regressions. From our pov, we should be in sync with Linux here. Also, I'm going to push this one out to 5.x after one week. Thanks, Andreas 2015-11-16 Andreas Tobler <andre...@gcc.gnu.

Re: [PATCH,x86,FreeBSD] Update FreeBSD/i386 to i586

2015-11-15 Thread Andreas Tobler
On 15.11.15 10:52, Gerald Pfeifer wrote: This is something I had first done and tested a while ago, but apparently failed to submit. It did not show in my running of the testsuite (bootstrap and testing without regressions on i386-unknown-freebsd10.1), but in some cases the use of i586

Re: [patch] update locale support fro FreeBSD

2015-11-14 Thread Andreas Tobler
On 14.11.15 14:43, Jonathan Wakely wrote: On 13/11/15 15:28 +, Jonathan Wakely wrote: On 12/11/15 23:32 +0100, Andreas Tobler wrote: All, with the work from Jennifer Yao and John Marino we can now update the locale support on FreeBSD to the level of DragonFly. Results of this work can

[patch] update locale support fro FreeBSD

2015-11-12 Thread Andreas Tobler
and John are committed before stage3?) TIA, Andreas 2015-11-12 Andreas Tobler <andre...@gcc.gnu.org> * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Change locale implementation from darwin to DragonFly. * configure: Regenerate. * config/os/bsd/f

Re: [PATCH] Enable libstdc++ numeric conversions on Cygwin

2015-11-12 Thread Andreas Tobler
On 12.11.15 14:39, Jonathan Wakely wrote: On 12/11/15 11:40 +, Jonathan Wakely wrote: On 18/09/15 12:01 -0400, Jennifer Yao wrote: Forgot to include the patch. On Fri, Sep 18, 2015 at 11:17 AM, Jennifer Yao wrote: A number of functions in libstdc++ are guarded

Re: [patch] backport PIE support for FreeBSD to gcc-49

2015-11-11 Thread Andreas Tobler
On 09.11.15 13:38, Andreas Tobler wrote: Hi, any objections that I apply this patch to gcc-4.9? It is FreeBSD only. committed as: 230192 Andreas 2015-11-09 Andreas Tobler <andre...@gcc.gnu.org> Backport from mainline 2015-05-18 Andreas Tobler <andre...@gc

Re: [patch] backport remove of soft float for FreeBSD powerpc for gcc-4.9

2015-11-11 Thread Andreas Tobler
On 09.11.15 13:41, Andreas Tobler wrote: Hi all, any objections when I apply the below patch to gcc-4.9? committed as: 230193 Andreas 2015-11-09 Andreas Tobler <andre...@gcc.gnu.org> Backport from mainline 2015-03-04 Andreas Tobler <andre...@gc

[patch] libsanitizer

2015-11-10 Thread Andreas Tobler
Hi all, the attached patch removes the hard-coded requirement for the link operation with -ldl. On FreeBSD we do not need that, it breaks compilation. The patch is tested against CentOS7.1 Ok to apply for trunk? TIA, Andreas 2015-11-10 Andreas Tobler <andre...@gcc.gnu.

[patch] backport PIE support for FreeBSD to gcc-49

2015-11-09 Thread Andreas Tobler
Hi, any objections that I apply this patch to gcc-4.9? It is FreeBSD only. TIA, Andreas 2015-11-09 Andreas Tobler <andre...@gcc.gnu.org> Backport from mainline 2015-05-18 Andreas Tobler <andre...@gcc.gnu.org> * config/freebsd-spec.h (FBSD_STARTFIL

[patch] backport remove of soft float for FreeBSD powerpc for gcc-4.9

2015-11-09 Thread Andreas Tobler
Hi all, any objections when I apply the below patch to gcc-4.9? TIA, Andreas 2015-11-09 Andreas Tobler <andre...@gcc.gnu.org> Backport from mainline 2015-03-04 Andreas Tobler <andre...@gcc.gnu.org> * config/rs6000/t-freebsd64: Remove 32-bit soft-flo

Re: [patch] gcc5 FreeBSD rs6000 PIE handling

2015-11-02 Thread Andreas Tobler
On 31.10.15 22:28, Andreas Tobler wrote: Hi, I forgot to adapt the pie bits for powerpc64 FreeBSD back in May when I committed the pie support for FreeBSD. Without the below patch I'm not able to bootstrap a current gcc on FreeBSD powerpc64. The patch is against gcc-5, the patch for trunk

Re: [patch] gcc6 FreeBSD rs6000 PIE handling

2015-11-02 Thread Andreas Tobler
On 31.10.15 22:34, Andreas Tobler wrote: Hi, this is the part for gcc trunk. As mentioned in the previous mail (same subject for gcc5) I forgot to adapt the PIE bits for FreeBSD powerpc64. The patch below lets me bootstrap a current gcc with itself. I'll commit this part

[patch] gcc6 FreeBSD rs6000 PIE handling

2015-10-31 Thread Andreas Tobler
Andreas Tobler <andre...@gcc.gnu.org> * config/rs6000/freebsd64.h (ASM_SPEC32): Adust spec to handle PIE executables. Index: rs6000/freebsd64.h === --- rs6000/freebsd64.h (revision 229634) +++ rs6000/freeb

[patch] gcc5 FreeBSD rs6000 PIE handling

2015-10-31 Thread Andreas Tobler
I'll commit this bit in the next days. It is FreeBSD only. Thanks, Andreas 2015-10-31 Andreas Tobler <andre...@gcc.gnu.org> * config/rs6000/freebsd64.h (ASM_SPEC32): Adapt spec to handle PIE executables. Index: gcc/config/rs6000/freeb

Re: [PATCH] libffi testsuite: Don't run testsuite/libffi.call/float2.c on hppa*-*-hpux*

2015-10-26 Thread Andreas Tobler
Hi John, On 29.03.15 22:01, Andreas Tobler wrote: On 28.03.15 20:25, John David Anglin wrote: The libffi.call/float2.c test uses fabsl which was introduced in c99 and isn't available on hppa*-*-hpux*. In order to use the target selector with dg-run, I need to load target-supports-dg.exp

[patch] fix bootstrap if no ISL is available.

2015-08-27 Thread Andreas Tobler
Hi all, I think this is obvious? Thanks, Andreas 2015-08-27 Andreas Tobler andre...@gcc.gnu.org * toplev.c (process_options): Remove flag_loop_block, flag_loop_interchange, flag_loop_strip_mine. Index: toplev.c

Re: [patch] testsuite enable PIE tests on DragonFly

2015-07-09 Thread Andreas Tobler
On 09.07.15 17:30, Jeff Law wrote: On 07/09/2015 07:53 AM, John Marino wrote: DragonFly supports PIE but the tests for it are disabled. The attached patch for the trunk will enable these checks on DragonFly. Thanks for considering this! John p.s. suggested gcc/testsuite/changelog entry:

Re: [doc] invoke.texi: -mno-fancy-math-387 and FreeBSD

2015-07-02 Thread Andreas Tobler
On 28.06.15 17:50, Gerald Pfeifer wrote: Now that Andreas is on board, time to dust off some older issues of mine. :-) I verified that current GCC HEAD generates fsincos on FreeBSD/i386 with -ffastmath (and no options otherwise), and generates a call to a sin() function otherwise. So, okay to

[PATCH] backport FreeBSD add functionality to build PIE executables

2015-06-23 Thread Andreas Tobler
Hi all, I'm going to commit this patch to 5.1 in the next days unless someone objects. The patch is in my 5.1 tree since a longer time and I regularly post results. Thanks, Andreas 2015-06-22 Andreas Tobler andre...@gcc.gnu.org Backport from mainline 2015-05-18 Andreas

[PATCH] backport Contribute FreeBSD unwind support (x86_64 and x86)

2015-06-23 Thread Andreas Tobler
Hi all, the next one. I'm going to commit this patch to 5.1 in the next days. Also in my tree, test results posted for amd64/i386-*-freebsd11.0 Thanks, Andreas 2015-06-22 Andreas Tobler andre...@gcc.gnu.org Backport from mainline 2015-05-27 John Marino gnu...@marino.st

[PATCH] backport libjava signal handling for FreeBSD (amd64/i386)

2015-06-23 Thread Andreas Tobler
Hi again, number three. This one is also on my list to be committed to 5.1. Results on the usual place. Thanks, Andreas 2015-06-22 Andreas Tobler andre...@gcc.gnu.org Backport from mainline 2015-05-28 Andreas Tobler andre...@gcc.gnu.org * configure.host: Add

[PATCH] libgomp sysctl check

2015-06-23 Thread Andreas Tobler
Hi all, this patch fixes a long standing bug in the libgomp configury. The initial patch was correct, but the commit I did was wrong. Ok for trunk? Thanks, Andreas 2015-06-23 Andreas Tobler andre...@gcc.gnu.org * configure.ac: Fix check for header sys/sysctl.h * configure

Re: [PATCH] backport FreeBSD add functionality to build PIE executables

2015-06-23 Thread Andreas Tobler
On 23.06.15 19:50, Jakub Jelinek wrote: On Tue, Jun 23, 2015 at 07:26:09PM +0200, Andreas Tobler wrote: Hi all, I'm going to commit this patch to 5.1 in the next days unless someone objects. The patch is in my 5.1 tree since a longer time and I regularly post results. Note, Richard

Re: [PATCH] libgomp sysctl check

2015-06-23 Thread Andreas Tobler
On 23.06.15 19:47, Jakub Jelinek wrote: On Tue, Jun 23, 2015 at 07:36:22PM +0200, Andreas Tobler wrote: Hi all, this patch fixes a long standing bug in the libgomp configury. The initial patch was correct, but the commit I did was wrong. Ok for trunk? Thanks, Andreas 2015-06-23 Andreas

Re: [patch] fix bootstrap on FreeBSD i386/arm

2015-06-01 Thread Andreas Tobler
On 01.06.15 16:43, Steve Ellcey wrote: On Sat, 2015-05-30 at 11:27 +0200, Andreas Tobler wrote: I'm sorry. I totally forgot about autoheader... I'm testing this one now. Would you mind giving it a try? Thanks, Andreas This patch worked for me. I am curious about why you use

Re: [patch] fix bootstrap on FreeBSD i386/arm

2015-05-31 Thread Andreas Tobler
Hi Jason, On 30.05.15 11:27, Andreas Tobler wrote: On 29.05.15 19:18, Steve Ellcey wrote: On Thu, 2015-05-28 at 23:54 +0200, Eric Botcazou wrote: This patch restores bootstrap on i386-*-freebsd*. The build was failing after the introduction of -std=c++98 configure/build flag. The -std=c++98

Re: [patch] fix bootstrap on FreeBSD i386/arm

2015-05-31 Thread Andreas Tobler
On 28.05.15 23:54, Eric Botcazou wrote: This patch restores bootstrap on i386-*-freebsd*. The build was failing after the introduction of -std=c++98 configure/build flag. The -std=c++98 enables strict_ansi and on FreeBSD the libc function atoll is not defined for this. Solaris (x86 and SPARC)

Re: [patch] fix bootstrap on FreeBSD i386/arm

2015-05-30 Thread Andreas Tobler
Hi Steve, On 29.05.15 19:18, Steve Ellcey wrote: On Thu, 2015-05-28 at 23:54 +0200, Eric Botcazou wrote: This patch restores bootstrap on i386-*-freebsd*. The build was failing after the introduction of -std=c++98 configure/build flag. The -std=c++98 enables strict_ansi and on FreeBSD the libc

[patch] fix bootstrap on FreeBSD i386/arm

2015-05-28 Thread Andreas Tobler
this and restores bootstrap on FreeBSD. Ok for trunk? Thanks, Andreas 2015-05-28 Andreas Tobler andre...@gcc.gnu.org * configure.ac: Move the atoll check from AC_CHECK_FUNCS to gcc_AC_CHECK_DECLS. * configure: Regenerate. Index: configure.ac

[patch] libjava signal handling for FreeBSD (amd64/i386)

2015-05-27 Thread Andreas Tobler
for trunk? Thanks, Andreas 2015-05-27 Andreas Tobler andre...@gcc.gnu.org * configure.host: Add bits for FreeBSD amd64 and i386. * configure.ac: Add signal handler for FreeBSD (amd64/i386) * configure: Regenerate. * include/freebsd-signal.h: New file. Index

Re: [patch] testsuite enable PIE tests on FreeBSD

2015-05-25 Thread Andreas Tobler
On 22.05.15 23:47, Jeff Law wrote: On 05/21/2015 02:01 PM, Andreas Tobler wrote: On 21.05.15 20:14, Andreas Tobler wrote: On 20.05.15 22:30, Jeff Law wrote: On 05/20/2015 11:04 AM, Andreas Tobler wrote: Hi, the attached patch enables some PIE tests on FreeBSD. Ok for trunk? Thanks

Re: [patch] testsuite enable PIE tests on FreeBSD

2015-05-25 Thread Andreas Tobler
On 25.05.15 14:42, Dominique Dhumieres wrote: Wouldn't it be better to remove the target selector and instead add: /* { dg-require-effective-target pie } */ ... This allows the tests to be run on Darwin and fail because the code generated does not match the scan-assembler: FAIL:

[patch] libjava testsuite

2015-05-25 Thread Andreas Tobler
Hi all, the below patch fixes the PR16923.c test case on FreeBSD (amd64/i386). Ok for trunk? Thanks, Andreas 2015-05-25 Andreas Tobler andre...@gcc.gnu.org * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation): Add libiconv for FreeBSD to cxxflags. Index

Re: [PATCH] Contribute FreeBSD unwind support (x86_64 and x86)

2015-05-25 Thread Andreas Tobler
On 20.05.15 22:21, Andreas Tobler wrote: On 20.05.15 21:49, John Marino wrote: I have maintained unwind support for FreeBSD i386 and x86_64 in my gnat-aux repository for many years (I created it). I've always intended on contributing it back to GCC, but I never got around to proving it worked

Re: [patch] testsuite enable PIE tests on FreeBSD

2015-05-21 Thread Andreas Tobler
On 20.05.15 22:30, Jeff Law wrote: On 05/20/2015 11:04 AM, Andreas Tobler wrote: Hi, the attached patch enables some PIE tests on FreeBSD. Ok for trunk? Thanks, Andreas 2015-05-20 Andreas Tobler andre...@gcc.gnu.org * gcc.target/i386/pr32219-1.c: Enable test on FreeBSD

Re: [patch] testsuite enable PIE tests on FreeBSD

2015-05-21 Thread Andreas Tobler
On 21.05.15 20:14, Andreas Tobler wrote: On 20.05.15 22:30, Jeff Law wrote: On 05/20/2015 11:04 AM, Andreas Tobler wrote: Hi, the attached patch enables some PIE tests on FreeBSD. Ok for trunk? Thanks, Andreas 2015-05-20 Andreas Tobler andre...@gcc.gnu.org * gcc.target/i386

[patch] testsuite enable PIE tests on FreeBSD

2015-05-20 Thread Andreas Tobler
Hi, the attached patch enables some PIE tests on FreeBSD. Ok for trunk? Thanks, Andreas 2015-05-20 Andreas Tobler andre...@gcc.gnu.org * gcc.target/i386/pr32219-1.c: Enable test on FreeBSD. * gcc.target/i386/pr32219-2.c: Likewise. * gcc.target/i386/pr32219-3.c

Re: [PATCH] Contribute FreeBSD unwind support (x86_64 and x86)

2015-05-20 Thread Andreas Tobler
On 20.05.15 21:49, John Marino wrote: I have maintained unwind support for FreeBSD i386 and x86_64 in my gnat-aux repository for many years (I created it). I've always intended on contributing it back to GCC, but I never got around to proving it worked until now. The version I've been using

Re: [PATCH] FreeBSD add functionality to build PIE executables.

2015-05-18 Thread Andreas Tobler
On 18.05.15 19:36, Jeff Law wrote: On 05/17/2015 02:42 PM, Andreas Tobler wrote: Ping?! Thanks, Andreas On 11.05.15 22:34, Andreas Tobler wrote: All, this patch adds the ability to build PIE executables for FreeBSD. The core is since a longer time in the code base of FreeBSD itself

Re: [PATCH] FreeBSD add functionality to build PIE executables.

2015-05-17 Thread Andreas Tobler
Ping?! Thanks, Andreas On 11.05.15 22:34, Andreas Tobler wrote: All, this patch adds the ability to build PIE executables for FreeBSD. The core is since a longer time in the code base of FreeBSD itself and is working fine. This patch makes it available for all FreeBSD targets. Tested

[PATCH] FreeBSD add functionality to build PIE executables.

2015-05-11 Thread Andreas Tobler
-testresults/2015-05/msg01324.html Is this ok for trunk and for 5.1X? Thanks, Andreas 2015-05-11 Andreas Tobler andre...@gcc.gnu.org * config/freebsd-spec.h (FBSD_STARTFILE_SPEC): Add the bits to build pie executables. (FBSD_ENDFILE_SPEC): Likewise. * config/i386

[Committed] Restore bootstrap for ARM

2015-05-04 Thread Andreas Tobler
All, I committed the below as obvious. Andreas 2015-05-04 Andreas Tobler andre...@gcc.gnu.org * config/arm/arm.c: Restore bootstrap. Index: config/arm/arm.c === --- config/arm/arm.c(revision 222767) +++ config/arm

Re: [PATCH] tetstsuite gcc.target/i386/ avx512*

2015-04-22 Thread Andreas Tobler
Hi Kirill, On 21.04.15 10:28, Kirill Yukhin wrote: On 19 Apr 21:56, Andreas Tobler wrote: Done so and tested on FreeBSD amd64-unknown-freebsd11.0 and CentOS7.1. Ok for trunk? The patch is OK for trunk and for gcc-5 branch (when it is open). Thanks for fixing this! Done on trunk and gcc-5

[PATCH] tetstsuite gcc.target/i386/ avx512*

2015-04-19 Thread Andreas Tobler
and/or float.h instead. FreeBSD lacks the values.h header. Done so and tested on FreeBSD amd64-unknown-freebsd11.0 and CentOS7.1. Ok for trunk? Thanks, Andreas 2015-04-19 Andreas Tobler andre...@gcc.gnu.org * gcc.target/i386/avx512bw-vpermi2w-2.c: Fix includes to use actual

[PATCH] fix PR target/65535

2015-04-16 Thread Andreas Tobler
Hi all, the below is an attempt to warn a user when she/he builds a cross compiler for *-*-freebsd* without giving a major version number. Ok for trunk? Thanks, Andreas 2015-04-16 Andreas Tobler andre...@gcc.gnu.org * config.gcc: Exit with a comment when we do not have a major

Re: [PATCH] libffi testsuite: Don't run testsuite/libffi.call/float2.c on hppa*-*-hpux*

2015-03-29 Thread Andreas Tobler
On 28.03.15 20:25, John David Anglin wrote: The libffi.call/float2.c test uses fabsl which was introduced in c99 and isn't available on hppa*-*-hpux*. In order to use the target selector with dg-run, I need to load target-supports-dg.exp in lib/libffi.exp. Tested on hppa2.0w-hp-hpux11.11.

Re: [PATCH] libffi testsuite: Use split to ensure valid tcl list

2015-03-29 Thread Andreas Tobler
On 28.03.15 18:59, John David Anglin wrote: The attached change fixes tcl errors that occur running the complex.exp and go.exp test sets. See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65567. Tested on hppa2.0w-hp-hpux11.11. Okay for trunk? From the testsuite pov. ok, but I do not have a

Re: [patch] FreeBSD powerpc64 remove 32-bit soft-float multilibs.

2015-03-04 Thread Andreas Tobler
On 04.03.15 22:55, Jeff Law wrote: On 03/01/15 11:59, Andreas Tobler wrote: Hi all, the appended patch removes the soft-float multilib build option from powerpc64-*-freebsd*. These libraries are rarely to never used on 64-bit FreeBSD PowerPC machines. But the build time of these libraries

[patch] FreeBSD powerpc64 remove 32-bit soft-float multilibs.

2015-03-01 Thread Andreas Tobler
? Thanks, Andreas 2015-03-01 Andreas Tobler andre...@gcc.gnu.org * config/rs6000/t-freebsd64: Remove 32-bit soft-float multilibs. Index: gcc/config/rs6000/t-freebsd64 === --- gcc/config/rs6000/t-freebsd64 (revision

Re: [PATCH][ARM] FreeBSD ARM support, EABI, v3

2015-01-15 Thread Andreas Tobler
On 14.01.15 10:43, Richard Earnshaw wrote: On 13/01/15 21:08, Andreas Tobler wrote: On 13.01.15 11:25, Ramana Radhakrishnan wrote: On Thu, Jan 8, 2015 at 8:51 PM, Andreas Tobler andreast-l...@fgznet.ch wrote: On 08.01.15 17:27, Richard Earnshaw wrote: On 29/12/14 18:44, Andreas Tobler wrote

Re: [PATCH][ARM] FreeBSD ARM support, EABI, v3

2015-01-13 Thread Andreas Tobler
On 13.01.15 11:25, Ramana Radhakrishnan wrote: On Thu, Jan 8, 2015 at 8:51 PM, Andreas Tobler andreast-l...@fgznet.ch wrote: On 08.01.15 17:27, Richard Earnshaw wrote: On 29/12/14 18:44, Andreas Tobler wrote: All, here is the third attempt to support ARM with FreeBSD. In the meantime we

[RFC PATCH Fortran] make enum_9/10.f90 testcases work under FreeBSD ARM

2015-01-11 Thread Andreas Tobler
the solution which makes the tests pass. I tested them under FreeBSD armv6-*-freebsd11.0 and x86_64-unknown-freebsd11.0. Also under x86_64-unknown-linux-gnu. All PASS. Would this be ok for trunk? TIA, Andreas 2015-01-11 Andreas Tobler andre...@gcc.gnu.org * gfortran.dg/enum_9.f90: Replace

Re: [PATCH][ARM] FreeBSD arm support, EABI, v2

2015-01-09 Thread Andreas Tobler
On 09.01.15 10:27, Richard Earnshaw wrote: On 08/01/15 20:28, Andreas Tobler wrote: On 08.01.15 17:22, Richard Earnshaw wrote: On 27/11/14 20:56, Andreas Tobler wrote: Hi all, this is the second attempt. I reworked the issues Richard mentioned in the previous review. I also found one issue

Re: [PATCH][ARM] FreeBSD arm support, EABI, v2

2015-01-08 Thread Andreas Tobler
On 08.01.15 17:22, Richard Earnshaw wrote: On 27/11/14 20:56, Andreas Tobler wrote: Hi all, this is the second attempt. I reworked the issues Richard mentioned in the previous review. I also found one issue which will break build/bootstrap if I pass --enable-gnu-indirect-function, also fixed

Re: [PATCH][ARM] FreeBSD ARM support, EABI, v3

2015-01-08 Thread Andreas Tobler
On 08.01.15 17:27, Richard Earnshaw wrote: On 29/12/14 18:44, Andreas Tobler wrote: All, here is the third attempt to support ARM with FreeBSD. In the meantime we found another issue in the unwinder where I had to adapt some stuff. The unwind_phase2_forced function in libgcc calls a stop_fn

[PATCH][ARM] FreeBSD ARM support, EABI, v3

2014-12-29 Thread Andreas Tobler
All, here is the third attempt to support ARM with FreeBSD. In the meantime we found another issue in the unwinder where I had to adapt some stuff. The unwind_phase2_forced function in libgcc calls a stop_fn function. This stop_fn is in FreeBSD's libthr implementation and is called

Re: [PATCH][ARM] FreeBSD arm support, EABI, v2

2014-12-05 Thread Andreas Tobler
Ping?! Thanks, Andreas On 27.11.14 21:56, Andreas Tobler wrote: Hi all, this is the second attempt. I reworked the issues Richard mentioned in the previous review. I also found one issue which will break build/bootstrap if I pass --enable-gnu-indirect-function, also fixed. One thing which

[PATCH][ARM] FreeBSD arm support, EABI, v2

2014-11-27 Thread Andreas Tobler
Hi all, this is the second attempt. I reworked the issues Richard mentioned in the previous review. I also found one issue which will break build/bootstrap if I pass --enable-gnu-indirect-function, also fixed. One thing which came up is the way we generate code for the armv6*-*-freebsd*

Re: [PATCH][ARM] testsuite, use arm_eabi #3

2014-11-25 Thread Andreas Tobler
On 11.11.14 00:45, Mike Stump wrote: On Nov 10, 2014, at 2:06 PM, Andreas Tobler andreast-l...@fgznet.ch wrote: another one. Here I'm not really sure if there are EABI variants which do _not_ support these test cases. I think the patch is fine, just watch for any follow-on comments from

[PATCH][ARM] testsuite, use arm_eabi #2

2014-11-10 Thread Andreas Tobler
Hi all, here a second chunk which uses arm_eabi instead of arm*-*-*eabi* and arm*-*-symbianelf*. As I was told, arm*-*-symbianelf* should be EABI so we can use arm_eabi for all instead of listing each OS. Ok for trunk? TIA, Andreas 2014-11-10 Andreas Tobler andre...@gcc.gnu.org

[PATCH][ARM] testsuite, use arm_eabi #3

2014-11-10 Thread Andreas Tobler
Hi all, another one. Here I'm not really sure if there are EABI variants which do _not_ support these test cases. My target succeeds with this patch. Comments? If no (comments), ok for trunk? TIA, Andreas 2014-11-10 Andreas Tobler andre...@gcc.gnu.org * g++.old-deja/g++.jason

Re: [PATCH] FreeBSD arm support, EABI.

2014-11-09 Thread Andreas Tobler
Hi Richard, On 07.11.14 14:45, Richard Earnshaw wrote: On 02/11/14 22:11, Andreas Tobler wrote: Hello all, this is a patch which brings support for arm*-*-freebsd* to trunk. The architectures supported are arm-*-*freebsd*, armv6-*-freebsd* and armv6hf-*-freebsd*. armv6 stands for ARM_ARCH

[PATCH][ARM] testsuite, use arm_eabi iso arm*-*-*eabi*

2014-11-09 Thread Andreas Tobler
be great! I'd expect them to work. There are probably more, but I want to split them to keep the overview :) Ok for trunk? TIA, Andreas 2014-11-09 Andreas Tobler andre...@gcc.gnu.org * gcc.dg/fshort-wchar.c: Use arm_eabi instead of arm*-*-*eabi*. * gcc.target/arm/aapcs/neon

Re: [PATCH] FreeBSD arm support, EABI.

2014-11-03 Thread Andreas Tobler
- Original Message From: Bin.Cheng amker.ch...@gmail.com To: Andreas Tobler andreast-l...@fgznet.ch Cc: GCC Patches gcc-patches@gcc.gnu.org Subject: Re: [PATCH] FreeBSD arm support, EABI. Date: 03/11/14 10:04 On Mon, Nov 3, 2014 at 6:11 AM, Andreas Tobler lt;andreast-l

Re: [PATCH] FreeBSD arm support, EABI.

2014-11-03 Thread Andreas Tobler
Hi Kyrill, On 03.11.14 12:44, Kyrill Tkachov wrote: CC'ing arm maintainers and a couple of comments inline. Thank you! On 02/11/14 22:11, Andreas Tobler wrote: Hello all, this is a patch which brings support for arm*-*-freebsd* to trunk. The architectures supported are arm-*-*freebsd

Re: [PATCH] FreeBSD arm support, EABI.

2014-11-03 Thread Andreas Tobler
On 03.11.14 18:53, Joseph Myers wrote: On Sun, 2 Nov 2014, Andreas Tobler wrote: * config/arm/arm.c (arm_init_libfuncs): FreeBSD does not support 8 byte atomics for __ARM_ARCH__ 6 yet. (arm_option_override): FreeBSD has not yet implemented unaligned access

[PATCH] FreeBSD arm support, EABI.

2014-11-02 Thread Andreas Tobler
the HW. I appreciate comments, questions and also an ack if this patch is ok for trunk. TIA, Andreas toplevel: 2014-11-02 Andreas Tobler andre...@gcc.gnu.org * configure.ac: Don't add ${libgcj} for arm*-*-freebsd*. * configure: Regenerate. gcc: 2014-11-02 Andreas

Re: Fallout on full bootstrap

2014-10-11 Thread Andreas Tobler
On 11.10.14 12:43, Jan-Benedict Glaw wrote: On Wed, 2014-10-08 17:10:01 -, hubi...@gcc.gnu.org hubi...@gcc.gnu.org wrote: URL: https://gcc.gnu.org/viewcvs?rev=216010root=gccview=rev * ipa-polymorphic-call.c (extr_type_from_vtbl_store): Do better pattern matching of MEM_REF.

Re: [patch] powerpc64 FreeBSD support for boehm-gc

2013-12-29 Thread Andreas Tobler
On 26.12.13 23:48, Andrew Haley wrote: On 12/26/2013 12:11 AM, Andreas Tobler wrote: On 21.12.13 18:27, Andrew Haley wrote: On 12/20/2013 10:15 PM, Andreas Tobler wrote: Ok for gcc trunk? OK, thanks. May I get this one down to 4.8 too? Not really needed, but for completeness. Results

[patch] powerpc64 FreeBSD support for boehm-gc

2013-12-20 Thread Andreas Tobler
Hi, the below patch adds support for powerpc64 FreeBSD for the boehm-gc. The diff is already available in boehm-gc trunk. Ok for gcc trunk? Thanks, Andreas 2013-12-20 Andreas Tobler andre...@gcc.gnu.ch * include/private/gcconfig.h: Add FreeBSD powerpc64 defines. Index: include

[patch] libgomp test fixes for FreeBSD

2013-12-17 Thread Andreas Tobler
on Linux/x86_64 and FreeBSD11.0 amd64. On FreeBSD we get all test cases pass. (on Linux too, no regression) Ok for trunk? Thanks, Andreas 2013-12-17 Andreas Tobler andre...@gcc.gnu.org * testsuite/libgomp.c/affinity-1.c: Remove alloca.h inlcude. * testsuite/libgomp.c/icv-2.c

Re: [patch] libgomp test fixes for FreeBSD

2013-12-17 Thread Andreas Tobler
On 17.12.13 18:54, Jakub Jelinek wrote: On Tue, Dec 17, 2013 at 06:42:22PM +0100, Andreas Tobler wrote: 2013-12-17 Andreas Tobler andre...@gcc.gnu.org * testsuite/libgomp.c/affinity-1.c: Remove alloca.h inlcude. In this case please also change the alloca (...) use in the testcase

[patch] fix fortran regressions on FreeBSD10.0/11.0

2013-12-16 Thread Andreas Tobler
, Andreas 2013-12-17 Andreas Tobler andre...@gcc.gnu.org * io/unix.c (tempfile_open): Only use the needed flag O_CLOEXEC. Index: io/unix.c === --- io/unix.c (revision 206039) +++ io/unix.c (working copy) @@ -1124,7

[patch] libffii, fix build for powerpc where DOUBLE equal LONGDOUBLE

2013-02-02 Thread Andreas Tobler
, Andreas 2013-02-02 Andreas Tobler andre...@fgznet.ch * src/powerpc/ffi.c (ffi_prep_cif_machdep): Fix case where DOUBLE equal LONGDOUBLE. Index: src/powerpc/ffi.c === --- src/powerpc/ffi.c (revision 195611) +++ src

Re: [PR middle-end/55398] Convert vec into a POD

2012-11-20 Thread Andreas Tobler
On 20.11.12 17:27, Diego Novillo wrote: On Tue, Nov 20, 2012 at 11:23 AM, Diego Novillo dnovi...@google.com wrote: 2012-11-20 Diego Novillo dnovi...@google.com PR middle-end/55398 * vec.h (class vec_prefix): Make every field public. Rename field alloc_ to alloc_PRIVATE_.

Re: VEC re-write [patch 01/25]

2012-11-18 Thread Andreas Tobler
On 18.11.12 18:05, Hans-Peter Nilsson wrote: On Sat, 17 Nov 2012, Diego Novillo wrote: I have now committed all 25 parts of this patch as rev 193595. Please CC me on any problems that you think may be related to this rewrite. That seems to have trigged some bug in gcc-4.4-era. See

Re: VEC re-write [patch 01/25]

2012-11-18 Thread Andreas Tobler
On 18.11.12 20:11, Hans-Peter Nilsson wrote: On Sun, 18 Nov 2012, Andreas Tobler wrote: Is there a minimum gcc to bootstrap current trunk? I currently fail to bootstrap trunk with a 4.2.1 gcc, but a 4.6 succeeds. A gcc-4.1.2 has worked for me in the past, before this recent vec.h change

Fix bootstrap on non-ifunc capable targets (i386)

2012-11-14 Thread Andreas Tobler
Hi all, this commit: 193486 broke bootstrap on targets which do not have HAVE_GNU_INDIRECT_FUNCTION. Ok to commit? TIA, Andreas Index: config/i386/i386.c === --- config/i386/i386.c (revision 193495) +++ config/i386/i386.c

Re: Fix bootstrap on non-ifunc capable targets (i386)

2012-11-14 Thread Andreas Tobler
CL. Bootstrap on x86_64-unknown-freebsd10.0 passed, bootstrap on x86_64-unknown-linux-gnu in progress. But passed stage 2 where the break happened on FreeBSD. (unused parameter) Thanks, Andreas 2012-11-14 Andreas Tobler andre...@fgznet.ch * config/i386/i386.c

[patch] fix bootstrap in libbacktrace for FreeBSD

2012-10-10 Thread Andreas Tobler
Hi, FreeBSD has already defined the various Elf_ stuff for 32 and 64-bit targets. Currently compilation in libbacktrace fails due to redefinition of these: - Elf_Ehdr - Elf_Sym - Elf_Shdr I 'fixed' this with ifndef'ing. See below. Bootstrap passed. Is something like this ok for trunk?

Re: [patch] fix bootstrap in libbacktrace for FreeBSD

2012-10-10 Thread Andreas Tobler
On 10.10.12 17:36, Ian Lance Taylor wrote: On Wed, Oct 10, 2012 at 6:45 AM, Andreas Tobler andreast-l...@fgznet.ch wrote: FreeBSD has already defined the various Elf_ stuff for 32 and 64-bit targets. Currently compilation in libbacktrace fails due to redefinition of these: - Elf_Ehdr

Re: [patch] fix bootstrap in libbacktrace for FreeBSD

2012-10-10 Thread Andreas Tobler
On 10.10.12 22:00, Ian Lance Taylor wrote: On Wed, Oct 10, 2012 at 12:30 PM, Andreas Tobler andreast-l...@fgznet.ch wrote: On 10.10.12 17:36, Ian Lance Taylor wrote: On Wed, Oct 10, 2012 at 6:45 AM, Andreas Tobler andreast-l...@fgznet.ch wrote: FreeBSD has already defined the various Elf_

[patch] fix cross build on powerpc*-*-freebsd

2012-09-28 Thread Andreas Tobler
on both branches? TIA, Andreas 2012-09-28 Andreas Tobler andre...@fgznet.ch * config.gcc: Replace 'host' with 'target' when configuring for powerpc64*-*-freebsd. Index: gcc/config.gcc === --- gcc/config.gcc

Re: [patch] fix cross build on powerpc*-*-freebsd

2012-09-28 Thread Andreas Tobler
On 28.09.12 17:21, Ian Lance Taylor wrote: On Fri, Sep 28, 2012 at 4:30 AM, Andreas Tobler andreast-l...@fgznet.ch wrote: 2012-09-28 Andreas Tobler andre...@fgznet.ch * config.gcc: Replace 'host' with 'target' when configuring for powerpc64*-*-freebsd. Counts as obvious

Re: [PATCH] Rs6000 infrastructure cleanup (switches)

2012-09-15 Thread Andreas Tobler
On 13.09.12 00:43, Michael Meissner wrote: The following patches tackle an issue that David and I have been encountering and working around for 15 years or so in the rs6000 port. The basic problem is that we have long ago overflowed the 31 bits you get in target_flags, and different options

Re: [patch] backport powerpc64-freebsd support to 4.7 branch

2012-04-30 Thread Andreas Tobler
On 30.04.12 18:54, David Edelsohn wrote: On Sat, Apr 28, 2012 at 3:45 PM, Andreas Toblerandreast-l...@fgznet.ch wrote: Hello all, I did a backport of the powerpc64-freebsd support to the 4.7 branch, here the results: http://gcc.gnu.org/ml/gcc-testresults/2012-04/msg02768.html

[patch] backport powerpc64-freebsd support to 4.7 branch

2012-04-28 Thread Andreas Tobler
++: 2012-04-28 Andreas Tobler andre...@fgznet.ch Backport from mainline 2012-03-21 Andreas Tobler andre...@fgznet.ch * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Skip this test on powerpc64-*-freebsd*. libgcc: 2012-04-28 Andreas Tobler andre

Re: [RFC, patch] powerpc64 FreeBSD support

2012-03-21 Thread Andreas Tobler
On 02.03.12 17:28, David Edelsohn wrote: On Fri, Mar 2, 2012 at 11:04 AM, Andreas Toblerandreast-l...@fgznet.ch wrote: the attached patch adds support for powerpc64-*-freebsd*. Results are/were sent to the test results list. A few words about the patch. I have chosen the way to add separate

Re: [RFC, patch] powerpc64 FreeBSD support

2012-03-02 Thread Andreas Tobler
Ping! Any comments on the patch? Thanks, Andreas On 22.12.11 21:44, Andreas Tobler wrote: Hi all, the attached patch adds support for powerpc64-*-freebsd*. Results are/were sent to the test results list. A few words about the patch. I have chosen the way to add separate freebsd* files

<    1   2   3   >