Re: question about GCC Wiki

2017-07-29 Thread Segher Boessenkool
On Mon, Jul 24, 2017 at 01:08:35PM -0600, Martin Sebor wrote:
> ...or more precisely, about MoinMoin hyperlink formatting.
> 
> I'd like to insert hyperlinks to anchors in the GCC HTML manual
> on some Wiki pages.  Specifically, I'd like to be able to link
> to the description of a command line option or an attribute,
> and I'd also like to render the text of the link in monospace
> font.  But try as I might, I haven't been able to convince Moin
> Moin to do this for me.  (The usual {{{[link]}}} is documented
> to disable the link so that's out.  Ditto with the backtick.)

[[https://some/link|text to put here|class=monospace]]

and define  a.monospace  in the css?


Segher


Re: 64-bit PowerPC and small data area?

2017-07-29 Thread Segher Boessenkool
Hi!

On Tue, Jul 25, 2017 at 02:38:45PM +0200, Sebastian Huber wrote:
> So, it looks like the small data stuff is not support for ABI_ELFv2? Are 
> there main issues with the small data area using ELVv2 or is this simply 
> not implemented due to a lack of interested?

It is just not implemented.  ELFv2 is so far only used on Linux, and
only on LE at that (BE is not regularly tested).

Will this buy you anything though?  Small data already ends up in the
TOC.  Do you / should you use -mcmodel=small?


Segher


Re: question about GCC Wiki

2017-07-29 Thread Martin Sebor

On 07/29/2017 07:37 AM, Segher Boessenkool wrote:

On Mon, Jul 24, 2017 at 01:08:35PM -0600, Martin Sebor wrote:

...or more precisely, about MoinMoin hyperlink formatting.

I'd like to insert hyperlinks to anchors in the GCC HTML manual
on some Wiki pages.  Specifically, I'd like to be able to link
to the description of a command line option or an attribute,
and I'd also like to render the text of the link in monospace
font.  But try as I might, I haven't been able to convince Moin
Moin to do this for me.  (The usual {{{[link]}}} is documented
to disable the link so that's out.  Ditto with the backtick.)


[[https://some/link|text to put here|class=monospace]]

and define  a.monospace  in the css?


Thanks for the suggestion.  I know how to do this in static HTML
(though there I can simply put the link in between ) but
I have no idea how to make it happen in MoinMoin.  The manual makes
it sound like the admin would need to first install some sort of
a theme and then I would customize it.  That seems like a lot of
trouble to make a piece of text monospace.

Martin


GCC server write access

2017-07-29 Thread Jerry DeLisle
Can I get the contact info for someone who has write access to:

ftp://gcc.gnu.org/pub/gcc/infrastructure/

I would like to add two files there for testing of some patches to integrate
OpenCoarrays into gfortran build.

Help will be much appreciated. We need this to start testing.

Regards,

Jerry



An internal GCC compiler error when compiling GCC 7.x with GCC 6.x and 4.x

2017-07-29 Thread Ethin Probst
Hello all,
I was trying to build GCC 7.1.0 on OpenSuse 42.1 when it encountered
an internal error. The error is thrown, for lack of a better word, in
both 4.x and 6.x.
I would have submitted a bug report on the GCC bug tracker except for
the fact that I don't have all the information needed, so thought I
should report it here. What I don't have is the options given when GCC
was configured/built (for the system host compiler) and the
preprocessed file (*.i*) that triggers the bug. I'll give the rest
here, though.
The exact version of GCC that triggered the internal error was both
version gcc (SUSE Linux) 4.8.5 and gcc-6 (SUSE Linux) 6.2.1 20160826
[gcc-6-branch revision 239773].
The system type is a Linode VPS. Kernel and node names are Linux,
kernel release is 4.9.15-x86_64-linode81, kernel version is #1 SMP Fri
Mar 17 09:47:36 EDT 2017, and machine, processor, and hardware
platform are all x86_64.
>From what I can gather, the exact command that triggered the error was:
/home/ethin/gccbuild/./gcc/xgcc -B/home/ethin/gccbuild/./gcc/
-B/usr/local/x86_64-pc-linux-gnu/bin/
-B/usr/local/x86_64-pc-linux-gnu/lib/ -isystem
/usr/local/x86_64-pc-linux-gnu/include -isystem
/usr/local/x86_64-pc-linux-gnu/sys-include   -g0 -fcompare-debug= -g
-O2 -O2  -g -O2 -DIN_GCC -fPIC   -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include
-fpic -mlong-double-80 -DUSE_ELF_SYMVER -g -DIN_LIBGCC2
-fbuilding-libgcc -fno-stack-protector   -fpic -mlong-double-80
-DUSE_ELF_SYMVER -I. -I. -I../.././gcc -I../../../gcc-7.1.0/libgcc
-I../../../gcc-7.1.0/libgcc/. -I../../../gcc-7.1.0/libgcc/../gcc
-I../../../gcc-7.1.0/libgcc/../include
-I../../../gcc-7.1.0/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT
-DHAVE_CC_TLS  -DUSE_TLS -o _addQQ.o -MT _addQQ.o -MD -MP -MF
_addQQ.dep -DL_add -DQQ_MODE -c ../../../gcc-7.1.0/libgcc/fixed-bit.c
-fvisibility=hidden -DHIDE_EXPORTS
I configured the GCC 7.1.0 package with the command (from the
$HOME/gccbuild directory):
../gcc-7.1.0/configure --enable-host-shared --enable-multiarch
--enable-vtable-verify --disable-multilib --enable-threads
--enable-tls --enable-__cxa_atexit --enable-gnu-indirect-function
--enable-comdat --enable-initfini-array --enable-bootstrap
--enable-languages=ada,brig,c,c++,fortran,go,jit,lto,objc,obj-c++
--enable-libada --enable-libsanitizer --enable-libssp
--enable-libquadmath --enable-libquadmath-support --enable-libgomp
--enable-libvtv --enable-default-pie --enable-default-ssp --enable-cld
--enable-checking=all --disable-nls --enable-fixed-point
--with-long-double-128 --enable-linker-build-id
--enable-gnu-unique-object --enable-lto
--enable-canonical-system-headers --enable-objc-gc
--enable-liboffloadmic=target
--with-build-config="bootstrap-debug-lean bootstrap-debug-lib
bootstrap-debug-ckovw" --quiet CC=gcc-6 CXX=g++-6 CC_FOR_TARGET=gcc-6
CXX_FOR_TARGET=g++-6 GCC_FOR_TARGET=gcc-6
GFORTRAN_FOR_TARGET=gfortran-6
The command I used to configure GCC without the GCC 6.x installation
(so it used 4.8.5, the default) was:
../gcc-7.1.0/configure --enable-host-shared --enable-multiarch
--enable-vtable-verify --disable-multilib --enable-threads
--enable-tls --enable-__cxa_atexit --enable-gnu-indirect-function
--enable-comdat --enable-initfini-array --enable-bootstrap
--enable-languages=ada,brig,c,c++,fortran,go,jit,lto,objc,obj-c++
--enable-libada --enable-libsanitizer --enable-libssp
--enable-libquadmath --enable-libquadmath-support --enable-libgomp
--enable-libvtv --enable-default-pie --enable-default-ssp --enable-cld
--enable-checking=all --disable-nls --enable-fixed-point
--with-long-double-128 --enable-linker-build-id
--enable-gnu-unique-object --enable-lto
--enable-canonical-system-headers --enable-objc-gc
--enable-liboffloadmic=target
--with-build-config="bootstrap-debug-lean bootstrap-debug-lib
bootstrap-debug-ckovw" --quiet
The exact output of the command was as follows:
In file included from ../../../gcc-7.1.0/libgcc/fixed-bit.c:55:0:
../../../gcc-7.1.0/libgcc/fixed-bit.h:64:1: error: unable to emulate 'QQ'
 typedef  _Fract QQtype  __attribute__ ((mode (QQ)));
 ^~~
../../../gcc-7.1.0/libgcc/fixed-bit.h:65:1: error: unable to emulate 'UQQ'
 typedef unsigned _Fract UQQtype __attribute__ ((mode (UQQ)));
 ^~~
../../../gcc-7.1.0/libgcc/fixed-bit.h:66:1: error: unable to emulate 'HQ'
 typedef  _Fract HQtype  __attribute__ ((mode (HQ)));
 ^~~
../../../gcc-7.1.0/libgcc/fixed-bit.h:67:1: error: unable to emulate 'UHQ'
 typedef unsigned _Fract UHQtype __attribute__ ((mode (UHQ)));
 ^~~
../../../gcc-7.1.0/libgcc/fixed-bit.h:68:1: error: unable to emulate 'HA'
 typedef  _Fract HAtype  __attribute__ ((mode (HA)));
 ^~~
../../../gcc-7.1.0/libgcc/fixed-bit.h:69:1: error: unable to emulate 'UHA'
 typedef unsigned _Fract UHAtype __attribute__ ((mode (UHA)));
 ^~~
../../../gcc-7.1.0/libgcc/fixed-bit.h:84:1: error: unable to emulate 'SQ'
 typedef  _Fra