public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/51909] New: for avr device : internal error in linking phase , function call disappearing when assembled and a weird compiling warning
@ 2012-01-20 1:29 gnumaurorusso at gmail dot com
2012-01-20 1:32 ` [Bug target/51909] " pinskia at gcc dot gnu.org
2012-01-20 1:34 ` gnumaurorusso at gmail dot com
0 siblings, 2 replies; 3+ messages in thread
From: gnumaurorusso at gmail dot com @ 2012-01-20 1:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51909
Bug #: 51909
Summary: for avr device : internal error in linking phase ,
function call disappearing when assembled and a
weird compiling warning
Classification: Unclassified
Product: gcc
Version: 4.5.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: gnumaurorusso@gmail.com
Created attachment 26387
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26387
make commands list
Dears,
unfortunely I am new in gcc compiler.
I wok on Windows XP Home - SP3.
I had a problem in AVR Toolchain, which uses gcc 4.5.1
It seems maybe they have an adapted gcc version
"gcc (AVR_8_bit_GNUToolchain_3.3.1_422) 4.5.1"
I also downloaded and installed cgwin. It contains gcc 4.5.3
Because of I am novice in gcc, at the moment I did not try to
reproduce the problems with the gcc 4.5.3 inside cgwin.
I have three problems :
- internal error in the linking phase (warning)
- function declared 'noreturn" has a 'return' statement
given on a function where no return statement appears
- a function call which disappears when the firmware is built
The same function call does not disappear if it is written
in an equivalent but different style.
At the moment I posted all details on AVR Freaks :
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=914857#914857
Please, let me know if you can help me to try to reproduce the problem
in gcc 4.5.3 in cgwin
I attach the Output of AVR Studio, which shows the make commands performed.
Best Regards,
Mauro.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/51909] for avr device : internal error in linking phase , function call disappearing when assembled and a weird compiling warning
2012-01-20 1:29 [Bug c++/51909] New: for avr device : internal error in linking phase , function call disappearing when assembled and a weird compiling warning gnumaurorusso at gmail dot com
@ 2012-01-20 1:32 ` pinskia at gcc dot gnu.org
2012-01-20 1:34 ` gnumaurorusso at gmail dot com
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-20 1:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51909
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-20 00:29:56 UTC ---
C:\Documents and Settings\mauro\Desktop\AVR5
prj\TestCodeBUG\ImportMyCode\Debug\SWLevel\URtcOperations.o(1,1): internal
error: out of range error
That is an internal error from the linker and not GCC. The linker is a
seperate project.
Also you really should report this to where you got the linker/compiler mix
since they are the ones who support the binaries you have.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/51909] for avr device : internal error in linking phase , function call disappearing when assembled and a weird compiling warning
2012-01-20 1:29 [Bug c++/51909] New: for avr device : internal error in linking phase , function call disappearing when assembled and a weird compiling warning gnumaurorusso at gmail dot com
2012-01-20 1:32 ` [Bug target/51909] " pinskia at gcc dot gnu.org
@ 2012-01-20 1:34 ` gnumaurorusso at gmail dot com
1 sibling, 0 replies; 3+ messages in thread
From: gnumaurorusso at gmail dot com @ 2012-01-20 1:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51909
--- Comment #2 from mauro <gnumaurorusso at gmail dot com> 2012-01-20 00:49:04 UTC ---
DEar Andrew,
thansk for the answer.
I have already posted to AVR support, as wrote in my previous post.
Anyway, I would like to understand id the problem raises also
in the "pure" gnu tool.
How can I go on for this goal?
Regards,
Mauro.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-01-20 0:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-20 1:29 [Bug c++/51909] New: for avr device : internal error in linking phase , function call disappearing when assembled and a weird compiling warning gnumaurorusso at gmail dot com
2012-01-20 1:32 ` [Bug target/51909] " pinskia at gcc dot gnu.org
2012-01-20 1:34 ` gnumaurorusso at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).