public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: abindus@wanadoo.fr
To: gcc-gnats@gcc.gnu.org
Subject: c++/7517: g++ incompatible options and multiple compilations
Date: Tue, 06 Aug 2002 23:56:00 -0000	[thread overview]
Message-ID: <20020807065244.31333.qmail@sources.redhat.com> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2414 bytes --]


>Number:         7517
>Category:       c++
>Synopsis:       g++ incompatible options and multiple compilations
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 06 23:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Pascal Bonfils
>Release:        1
>Organization:
>Environment:
Linux 2.4.18-3
>Description:
unable to build a rpm from source because it seems that some compilation options are not any more supported together : 
> > g++: ne peut spécifier -o avec -c ou -S et de multiples compilations
this could be translated as :
g++ : do not specify -o with -c or -S and multiple compilations.
This a common problem with many source rpm's.
>How-To-Repeat:
rpm --rebuild qcad-1.4.16-1.src.rpm
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="bug.txt"
Content-Disposition: inline; filename="bug.txt"

 rpm --rebuild qcad-1.4.16-1.src.rpm 
Installing qcad-1.4.16-1.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.69864
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf qcad-1.4.16-src
+ /bin/gzip -dc /usr/src/redhat/SOURCES/qcad-1.4.16-src.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd qcad-1.4.16-src
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo 'Patch #0 (qcad-datadir.patch):'
Patch #0 (qcad-datadir.patch):
+ patch -p1 -s
+ echo 'Patch #1 (qcad-pl.po.patch):'
Patch #1 (qcad-pl.po.patch):
+ patch -p1 -s
+ echo 'Patch #2 (qcad-Makefile.patch):'
Patch #2 (qcad-Makefile.patch):
+ patch -p1 -s
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.39156
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd qcad-1.4.16-src
+ /usr/bin/make 'CXXFLAGS=%{rpmcflags} -fno-rtti -fno-exceptions -DNO_DEBUG -DDATADIR=\"/usr/X11R6/share/\"' 'INCPATH=-I/usr/X11R6/include -I/usr/X11R6/include/qt' MOC=moc 'LDFLAGS=%{rpmldflags}' qcad
g++ -c %{rpmcflags} -fno-rtti -fno-exceptions -DNO_DEBUG -DDATADIR=\"/usr/X11R6/share/\" -I/usr/X11R6/include -I/usr/X11R6/include/qt -o exprparser.o exprparser.cpp
g++: ne peut spécifier -o avec -c ou -S et de multiples compilations
make: *** [exprparser.o] Erreur 1
error: Bad exit status from /var/tmp/rpm-tmp.39156 (%build)


             reply	other threads:[~2002-08-07  6:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-06 23:56 abindus [this message]
2002-09-13 16:23 nathan
2003-02-23 20:37 neroden

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=20020807065244.31333.qmail@sources.redhat.com \
    --to=abindus@wanadoo.fr \
    --cc=gcc-gnats@gcc.gnu.org \
    /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).