public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: nobodyO@web.de
To: cygwin@cygwin.com
Subject: Strange errors with gcc and top, even after rebaseall
Date: Wed, 23 Aug 2017 21:39:00 -0000	[thread overview]
Message-ID: <trinity-28ebbc2f-8902-45b1-aebd-ea52cc253f3b-1503524348648@3c-app-webde-bap32> (raw)

Hi,
 

i had some strange errors with Cygwin (32bit) and installed it new (all, every package), but even after "/usr/bin/rebase-trigger full" and setup two errors are remaining:
 
1.) top does exit at startup with return code -1. Afterwards everything entered is black, as the background, and backspace is displayed as quadgraph "\177".
 
2.) Linking is not possible, even with a small hello world program:

> make
gcc -o hello.exe hello.o
/usr/lib/gcc/i686-pc-cygwin/5.4.0/../../../../i686-pc-cygwin/bin/ld: unrecognized option '-plugin'
/usr/lib/gcc/i686-pc-cygwin/5.4.0/../../../../i686-pc-cygwin/bin/ld: use the --help option for usage information
collect2: Fehler: ld gab 1 als Ende-Status zurueck
make: *** [makefile:6: hello.exe] Fehler 1

 > gcc -fno-use-linker-plugin -o hello.exe hello.o
/usr/lib/gcc/i686-pc-cygwin/5.4.0/../../../../i686-pc-cygwin/bin/ld: unrecognized option '--build-id'
/usr/lib/gcc/i686-pc-cygwin/5.4.0/../../../../i686-pc-cygwin/bin/ld: use the --help option for usage information
collect2: Fehler: ld gab 1 als Ende-Status zurueck

> cat makefile
TARGET    = hello.exe
OBJECT_01 = hello.o
SOURCE_01 = hello.c
$(TARGET): $(OBJECT_01)
        gcc -o $(TARGET) $(OBJECT_01)
$(OBJECT_01) : $(SOURCE_01)
        gcc -c $(SOURCE_01) -o $(OBJECT_01)
all : $(TARGET)
clean :
        -rm $(TARGET) $(OBJS)
 

What should i do to eleminate these errors?
 
Regards,
 
Rolf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

             reply	other threads:[~2017-08-23 21:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-23 21:39 nobodyO [this message]
2017-08-24  2:16 ` cyg Simple
2017-08-24  7:16   ` Aw: " nobodyO
2017-08-24 11:16     ` Eliot Moss
2017-08-25 19:07       ` nobodyO
2017-08-26  3:50         ` Andrey Repin
2017-08-26 17:16         ` Achim Gratz
2017-08-26 21:51           ` Aw: " nobodyO
2017-08-27 13:43             ` cyg Simple
2017-08-29  2:49       ` Kaz Kylheku

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=trinity-28ebbc2f-8902-45b1-aebd-ea52cc253f3b-1503524348648@3c-app-webde-bap32 \
    --to=nobodyo@web.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).