public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/18508] New: "basename: too few arguments" when building without bootstrap
@ 2004-11-15 23:36 schwab at suse dot de
2004-11-16 16:51 ` [Bug other/18508] " hjl at lucon dot org
` (11 more replies)
0 siblings, 12 replies; 13+ messages in thread
From: schwab at suse dot de @ 2004-11-15 23:36 UTC (permalink / raw)
To: gcc-bugs
When building the compiler without bootstrapping, ie. with make all-gcc, the
file libgcc_s_nof.so.1 is always rebuilt and a bogus libgcc_s_nof.so.1. (with
a trailing dot) is created. During this rebuild basename is called without
argument because $(STAGE_PREFIX) is empty.
--
Summary: "basename: too few arguments" when building without
bootstrap
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: other
AssignedTo: hjl at lucon dot org
ReportedBy: schwab at suse dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc-*-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18508
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug other/18508] "basename: too few arguments" when building without bootstrap
2004-11-15 23:36 [Bug other/18508] New: "basename: too few arguments" when building without bootstrap schwab at suse dot de
@ 2004-11-16 16:51 ` hjl at lucon dot org
2004-11-16 20:22 ` schwab at suse dot de
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: hjl at lucon dot org @ 2004-11-16 16:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hjl at lucon dot org 2004-11-16 16:50 -------
What is the real problem? Is my patch causes libgcc_s_nof.so.1 to be rebuilt or
my patch doesn't work with bogus libgcc_s_nof.so.1 rebuild?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18508
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug other/18508] "basename: too few arguments" when building without bootstrap
2004-11-15 23:36 [Bug other/18508] New: "basename: too few arguments" when building without bootstrap schwab at suse dot de
2004-11-16 16:51 ` [Bug other/18508] " hjl at lucon dot org
@ 2004-11-16 20:22 ` schwab at suse dot de
2004-11-16 20:57 ` hjl at lucon dot org
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: schwab at suse dot de @ 2004-11-16 20:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From schwab at suse dot de 2004-11-16 20:22 -------
Sorry for being imprecise. The fact that libgcc_s_nof.so.1 is always rebuilt
is an older bug not caused by your patch. The new problem is that basename is
called without arguments due to $(STAGE_PREFIX) being empty.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18508
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug other/18508] "basename: too few arguments" when building without bootstrap
2004-11-15 23:36 [Bug other/18508] New: "basename: too few arguments" when building without bootstrap schwab at suse dot de
2004-11-16 16:51 ` [Bug other/18508] " hjl at lucon dot org
2004-11-16 20:22 ` schwab at suse dot de
@ 2004-11-16 20:57 ` hjl at lucon dot org
2004-11-16 21:45 ` schwab at suse dot de
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: hjl at lucon dot org @ 2004-11-16 20:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hjl at lucon dot org 2004-11-16 20:57 -------
How hard to fix the older bug?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18508
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug other/18508] "basename: too few arguments" when building without bootstrap
2004-11-15 23:36 [Bug other/18508] New: "basename: too few arguments" when building without bootstrap schwab at suse dot de
` (2 preceding siblings ...)
2004-11-16 20:57 ` hjl at lucon dot org
@ 2004-11-16 21:45 ` schwab at suse dot de
2004-11-17 5:44 ` hjl at lucon dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: schwab at suse dot de @ 2004-11-16 21:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From schwab at suse dot de 2004-11-16 21:45 -------
I haven't yet found out why, and it's completely independent of this bug
anyway. There can always be legitimate reasons to rebuild libgcc_s_nof.so.1
in repeated executions of make all-gcc if you modify some sources inbetween.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18508
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug other/18508] "basename: too few arguments" when building without bootstrap
2004-11-15 23:36 [Bug other/18508] New: "basename: too few arguments" when building without bootstrap schwab at suse dot de
` (3 preceding siblings ...)
2004-11-16 21:45 ` schwab at suse dot de
@ 2004-11-17 5:44 ` hjl at lucon dot org
2004-11-17 12:55 ` [Bug other/18508] [3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: hjl at lucon dot org @ 2004-11-17 5:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hjl at lucon dot org 2004-11-17 05:44 -------
A patch is posted at
http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01352.html
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-11-17 05:44:35
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18508
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug other/18508] [3.4/4.0 Regression] "basename: too few arguments" when building without bootstrap
2004-11-15 23:36 [Bug other/18508] New: "basename: too few arguments" when building without bootstrap schwab at suse dot de
` (4 preceding siblings ...)
2004-11-17 5:44 ` hjl at lucon dot org
@ 2004-11-17 12:55 ` pinskia at gcc dot gnu dot org
2004-12-15 19:31 ` hjl at lucon dot org
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-17 12:55 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build
Summary|"basename: too few |[3.4/4.0 Regression]
|arguments" when building |"basename: too few
|without bootstrap |arguments" when building
| |without bootstrap
Target Milestone|--- |3.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18508
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug other/18508] [3.4/4.0 Regression] "basename: too few arguments" when building without bootstrap
2004-11-15 23:36 [Bug other/18508] New: "basename: too few arguments" when building without bootstrap schwab at suse dot de
` (5 preceding siblings ...)
2004-11-17 12:55 ` [Bug other/18508] [3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-12-15 19:31 ` hjl at lucon dot org
2004-12-15 19:49 ` mmitchel at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: hjl at lucon dot org @ 2004-12-15 19:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hjl at lucon dot org 2004-12-15 19:31 -------
Hi Mark, can you take a look at the patch? Thanks.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mark at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18508
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug other/18508] [3.4/4.0 Regression] "basename: too few arguments" when building without bootstrap
2004-11-15 23:36 [Bug other/18508] New: "basename: too few arguments" when building without bootstrap schwab at suse dot de
` (6 preceding siblings ...)
2004-12-15 19:31 ` hjl at lucon dot org
@ 2004-12-15 19:49 ` mmitchel at gcc dot gnu dot org
2004-12-16 19:14 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-12-15 19:49 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-12-15 19:49 -------
This patch is OK.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18508
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug other/18508] [3.4/4.0 Regression] "basename: too few arguments" when building without bootstrap
2004-11-15 23:36 [Bug other/18508] New: "basename: too few arguments" when building without bootstrap schwab at suse dot de
` (7 preceding siblings ...)
2004-12-15 19:49 ` mmitchel at gcc dot gnu dot org
@ 2004-12-16 19:14 ` cvs-commit at gcc dot gnu dot org
2004-12-16 19:16 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-16 19:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-16 19:14 -------
Subject: Bug 18508
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: hjl@gcc.gnu.org 2004-12-16 19:14:29
Modified files:
gcc : ChangeLog
gcc/config : t-libunwind-elf t-slibgcc-darwin
t-slibgcc-elf-ver t-slibgcc-sld
gcc/config/alpha: t-osf4
gcc/config/arm : t-netbsd
gcc/config/i386: t-nwld
gcc/config/mips: t-slibgcc-irix
gcc/config/pa : t-hpux-shlib
gcc/config/sh : t-linux
Log message:
2004-12-14 H.J. Lu <hongjiu.lu@intel.com>
PR other/18508
* config/alpha/t-osf4 (SHLIB_LINK): Use `.backup' as the suffix
to back up the existing shared library.
* config/arm/t-netbsd (SHLIB_LINK): Likewise.
* config/mips/t-slibgcc-irix (SHLIB_LINK): Likewise.
* config/pa/t-hpux-shlib (SHLIB_LINK): Likewise.
* config/sh/t-linux (SHLIB_LINK): Likewise.
* config/t-libunwind-elf (SHLIBUNWIND_LINK): Likewise.
* config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
* config/t-slibgcc-elf-ver (SHLIB_LINK): Likewise.
* config/t-slibgcc-sld (SHLIB_LINK): Likewise.
* config/i386/t-nwld (SHLIB_LINK): Don't use the temporary
file.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6857&r2=2.6858
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/t-libunwind-elf.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/t-slibgcc-darwin.diff?cvsroot=gcc&r1=1.7&r2=1.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/t-slibgcc-elf-ver.diff?cvsroot=gcc&r1=1.9&r2=1.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/t-slibgcc-sld.diff?cvsroot=gcc&r1=1.9&r2=1.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/alpha/t-osf4.diff?cvsroot=gcc&r1=1.8&r2=1.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arm/t-netbsd.diff?cvsroot=gcc&r1=1.8&r2=1.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/t-nwld.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/mips/t-slibgcc-irix.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/t-hpux-shlib.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sh/t-linux.diff?cvsroot=gcc&r1=1.15&r2=1.16
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18508
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug other/18508] [3.4/4.0 Regression] "basename: too few arguments" when building without bootstrap
2004-11-15 23:36 [Bug other/18508] New: "basename: too few arguments" when building without bootstrap schwab at suse dot de
` (8 preceding siblings ...)
2004-12-16 19:14 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-16 19:16 ` cvs-commit at gcc dot gnu dot org
2004-12-16 19:17 ` hjl at lucon dot org
2005-05-14 16:30 ` dank at kegel dot com
11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-16 19:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-16 19:16 -------
Subject: Bug 18508
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: hjl@gcc.gnu.org 2004-12-16 19:16:23
Modified files:
gcc : ChangeLog
gcc/config : t-libunwind-elf t-slibgcc-darwin
t-slibgcc-elf-ver t-slibgcc-sld
gcc/config/alpha: t-osf4
gcc/config/arm : t-netbsd
gcc/config/mips: t-iris5-6
gcc/config/pa : t-hpux-shlib
gcc/config/sh : t-linux
Log message:
2004-12-16 H.J. Lu <hongjiu.lu@intel.com>
PR other/18508
* config/alpha/t-osf4 (SHLIB_LINK): Use `.backup' as the suffix
to back up the existing shared library.
* config/arm/t-netbsd (SHLIB_LINK): Likewise.
* config/mips/t-iris5-6 (SHLIB_LINK): Likewise.
* config/pa/t-hpux-shlib (SHLIB_LINK): Likewise.
* config/sh/t-linux (SHLIB_LINK): Likewise.
* config/t-libunwind-elf (SHLIBUNWIND_LINK): Likewise.
* config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
* config/t-slibgcc-elf-ver (SHLIB_LINK): Likewise.
* config/t-slibgcc-sld (SHLIB_LINK): Likewise.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.745&r2=2.2326.2.746
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/t-libunwind-elf.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.1.4.2&r2=1.1.4.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/t-slibgcc-darwin.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.2.10.1&r2=1.2.10.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/t-slibgcc-elf-ver.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.5.20.2&r2=1.5.20.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/t-slibgcc-sld.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.4.20.1&r2=1.4.20.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/alpha/t-osf4.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.7.10.1&r2=1.7.10.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arm/t-netbsd.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.7.10.1&r2=1.7.10.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/mips/t-iris5-6.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3.20.1&r2=1.3.20.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/t-hpux-shlib.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.2.20.1&r2=1.2.20.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sh/t-linux.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.9.10.3&r2=1.9.10.4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18508
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug other/18508] [3.4/4.0 Regression] "basename: too few arguments" when building without bootstrap
2004-11-15 23:36 [Bug other/18508] New: "basename: too few arguments" when building without bootstrap schwab at suse dot de
` (9 preceding siblings ...)
2004-12-16 19:16 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-16 19:17 ` hjl at lucon dot org
2005-05-14 16:30 ` dank at kegel dot com
11 siblings, 0 replies; 13+ messages in thread
From: hjl at lucon dot org @ 2004-12-16 19:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hjl at lucon dot org 2004-12-16 19:17 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18508
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug other/18508] [3.4/4.0 Regression] "basename: too few arguments" when building without bootstrap
2004-11-15 23:36 [Bug other/18508] New: "basename: too few arguments" when building without bootstrap schwab at suse dot de
` (10 preceding siblings ...)
2004-12-16 19:17 ` hjl at lucon dot org
@ 2005-05-14 16:30 ` dank at kegel dot com
11 siblings, 0 replies; 13+ messages in thread
From: dank at kegel dot com @ 2005-05-14 16:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dank at kegel dot com 2005-05-14 16:30 -------
On Cygwin, the symptoms may be slightly different.
Here's a snippet of a build log from Petr Cvachoucek:
basename: missing operand
Try `basename --help' for more information.
mv: `libgcc_s_nof.so.1' and `libgcc_s_nof.so.1.' are the same file
make[2]: *** [nof/libgcc_s_nof.so] Error 1
(Yep, Cygwin considers foo and foo. to be the same file.)
I only mention this for completeness.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18508
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2005-05-14 16:30 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-15 23:36 [Bug other/18508] New: "basename: too few arguments" when building without bootstrap schwab at suse dot de
2004-11-16 16:51 ` [Bug other/18508] " hjl at lucon dot org
2004-11-16 20:22 ` schwab at suse dot de
2004-11-16 20:57 ` hjl at lucon dot org
2004-11-16 21:45 ` schwab at suse dot de
2004-11-17 5:44 ` hjl at lucon dot org
2004-11-17 12:55 ` [Bug other/18508] [3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
2004-12-15 19:31 ` hjl at lucon dot org
2004-12-15 19:49 ` mmitchel at gcc dot gnu dot org
2004-12-16 19:14 ` cvs-commit at gcc dot gnu dot org
2004-12-16 19:16 ` cvs-commit at gcc dot gnu dot org
2004-12-16 19:17 ` hjl at lucon dot org
2005-05-14 16:30 ` dank at kegel 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).