[Bug target/68408] New: sparc-elf, c++: broken support for attribute init_priority.

2015-11-18 Thread sorganov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68408 Bug ID: 68408 Summary: sparc-elf, c++: broken support for attribute init_priority. Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal

sparc elf

2006-06-12 Thread Niklaus
Hi, I have been trying to build sparc elf executables from i386. I got gcc,binutils and newlibc and configured them with target=sparc-elf . Now when i got gcc and binutils working , i wrote a small program test.c: int main() { return 3; } i compiled it using sparc-elf-gcc -c test.c. ./sparc-elf

Re: sparc elf

2006-06-12 Thread Jim Wilson
Niklaus wrote: when i executed a.out on sparc machine it segfaulted and dumped core. On what kind of sparc machine? It sounds like you tried to run the code on a sparc-solaris or sparc-linux machine, which won't work. sparc-elf code can only be run on bare hardware. Try building a cross

[Bug target/19715] C++ init_priority is not enabled for generic sparc-elf target

2005-02-10 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-02-10 17:42 --- The C++ pragma init_priority is enabled for several sparc targets, but not for the generic sparc-elf (--target=sparc-elf). Confirmed, a fallout of the illegitimate dependency on the Solaris config

[Bug target/19715] C++ init_priority is not enabled for generic sparc-elf target

2005-02-10 Thread ebotcazou at gcc dot gnu dot org
-- What|Removed |Added CC||ebotcazou at gcc dot gnu dot ||org

[Bug target/19715] C++ init_priority is not enabled for generic sparc-elf target

2005-02-10 Thread jiri at gaisler dot com
--- Additional Comments From jiri at gaisler dot com 2005-02-10 18:41 --- Subject: Re: C++ init_priority is not enabled for generic sparc-elf target It not fixed on 3.4 or the 4.0 as far as I can see. Jiri. ebotcazou at gcc dot gnu dot org wrote: --- Additional Comments From

[Bug target/19715] C++ init_priority is not enabled for generic sparc-elf target

2005-02-10 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-02-10 18:51 --- It not fixed on 3.4 or the 4.0 as far as I can see. What do you mean by as far as I can see? Did you really try with 4.0.0pre? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19715

[Bug target/19715] C++ init_priority is not enabled for generic sparc-elf target

2005-02-10 Thread jiri at gaisler dot com
--- Additional Comments From jiri at gaisler dot com 2005-02-10 19:24 --- Subject: Re: C++ init_priority is not enabled for generic sparc-elf target It is not fixed. In gcc-4.0.0, the file that needs to be fixed is gcc/config/sparc/sp-elf.h . It should contain the following: #undef

[Bug target/19715] C++ init_priority is not enabled for generic sparc-elf target

2005-02-10 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-02-10 20:05 --- It is not fixed. That's wrong. It is fixed in 4.0.0pre: gcc -E -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fno-common -DHAVE_CONFIG_H-I. -Icp

[Bug c++/19715] New: C++ init_priority is not enabled for generic sparc-elf target

2005-01-30 Thread jiri at gaisler dot com
The C++ pragma init_priority is enabled for several sparc targets, but not for the generic sparc-elf (--target=sparc-elf). The file gcc/config/sparc/elf.h should include the following lines: #undef CTORS_SECTION_ASM_OP #undef DTORS_SECTION_ASM_OP #define SUPPORTS_INIT_PRIORITY 1 This problem

[Bug target/19715] C++ init_priority is not enabled for generic sparc-elf target

2005-01-30 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c++ |target http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19715