public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/15291] New: problem in "make" of gcc3.2.3; make failed due to "/usr/ccs/bin/ld: illegal option -- -" ???
@ 2004-05-05  7:54 engel at huji dot ac dot il
  2004-05-05  7:59 ` [Bug other/15291] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: engel at huji dot ac dot il @ 2004-05-05  7:54 UTC (permalink / raw)
  To: gcc-bugs

I was running make when it failed. Before that I run:
"configure --with-gnu-as --with-gnu-ld"


/fs/center/engel/local/gcc-3.2.3/gcc/xgcc
-B/fs/center/engel/local/gcc-3.2.3/gcc/ -B/usr/local/sparc-sun-solaris2.8/bin/
-B/usr/local/sparc-sun-solaris2.8/lib/ -isystem
/usr/local/sparc-sun-solaris2.8/include -O2  -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include 
-fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -shared
-nodefaultlibs -Wl,--soname=libgcc_s.so.1
-Wl,--version-script=libgcc/./libgcc.map -o libgcc_s.so.1   libgcc/./_muldi3.o
libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ashldi3.o libgcc/./_ashrdi3.o
libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_cmpdi2.o libgcc/./_ucmpdi2.o
libgcc/./_floatdidf.o libgcc/./_floatdisf.o libgcc/./_fixunsdfsi.o
libgcc/./_fixunssfsi.o libgcc/./_fixunsdfdi.o libgcc/./_fixdfdi.o
libgcc/./_fixunssfdi.o libgcc/./_fixsfdi.o libgcc/./_fixxfdi.o
libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o libgcc/./_fixunsxfsi.o
libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o libgcc/./_floatditf.o
libgcc/./_clear_cache.o libgcc/./_trampoline.o libgcc/./__main.o
libgcc/./_exit.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o libgcc/./_addvsi3.o
libgcc/./_addvdi3.o libgcc/./_subvsi3.o libgcc/./_subvdi3.o libgcc/./_mulvsi3.o
libgcc/./_mulvdi3.o libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o
libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o
libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o  libgcc/./unwind-dw2.o
libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o -lc && rm -f libgcc_s.so && ln
-s libgcc_s.so.1 libgcc_s.so
/usr/ccs/bin/ld: illegal option -- -
ld: warning: option -o appears more than once, first setting taken
/usr/ccs/bin/ld: illegal option -- -
/usr/ccs/bin/ld: illegal option -- v
usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s)
        [-64]           enforce a 64-bit link-edit
        [-a]            create an absolute file
        [-b]            do not do special PIC relocations in a.out
        [-B direct]     specify `direct' bindings for executable when run
        [-B dynamic | static]   
                        search for shared libraries|archives
        [-B eliminate]  eliminate unqualified global symbols from the
                        symbol table
        [-B group]      relocate object from within group

        [-B local]      reduce unqualified global symbols to local
        [-B reduce]     process symbol reductions
        [-B symbolic]   bind external references to definitions when creating
                        shared objects
        [-c name]       record configuration file `name'
        [-C]            demangle C++ symbol name diagnostics
        [-d y | n]      operate in dynamic|static mode
        [-D token,...]  print diagnostic messages
        [-e epsym]      use `epsym' as entry point address
        [-f name]       specify library for which this file is an auxiliary
                        filter
        [-F name]       specify library for which this file is a filter
        [-G]            create a shared object
        [-h name]       use `name' as internal shared object identifier
        [-i]            ignore LD_LIBRARY_PATH setting
        [-I name]       use `name' as path of interpreter
        [-l x]          search for libx.so or libx.a
        [-L path]       search for libraries in directory `path'
        [-m]            print memory map
        [-M mapfile]    use processing directives contained in `mapfile'
        [-N string]     create a dynamic dependency for `string'
        [-o outfile]    name the output file `outfile'
        [-p auditlib]   identify audit library to accompany this object
        [-P auditlib]   identify audit library for processing the dependencies
                        of this object
        [-Q y | n]      do|do not place version information in output file
        [-r]            create a relocatable object
        [-R path]       specify a library search path to be used at run time
        [-s]            strip any symbol and debugging information
        [-S supportlib]
                        specify a link-edit support library
        [-t]            do not warn of multiply-defined symbols that have
                        different sizes or alignments
        [-u symname]    create an undefined symbol `symname'
        [-V]            print version information
        [-Y P,dirlist]  use `dirlist' as a default path when searching for
                        libraries
...collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.so] Error 1
make[2]: Leaving directory `/fs/center/engel/local/gcc-3.2.3/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/fs/center/engel/local/gcc-3.2.3/gcc'
make: *** [all-gcc] Error 2

-- 
           Summary: problem in "make" of gcc3.2.3; make failed due to
                    "/usr/ccs/bin/ld: illegal option -- -" ???
           Product: gcc
           Version: 3.2.3
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: engel at huji dot ac dot il
                CC: engel at huji dot ac dot il,gcc-bugs at gcc dot gnu dot
                    org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15291


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug other/15291] problem in "make" of gcc3.2.3; make failed due to "/usr/ccs/bin/ld: illegal option -- -" ???
  2004-05-05  7:54 [Bug other/15291] New: problem in "make" of gcc3.2.3; make failed due to "/usr/ccs/bin/ld: illegal option -- -" ??? engel at huji dot ac dot il
@ 2004-05-05  7:59 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-05  7:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-05 07:59 -------
Invalid as you told configure that you are using the GNU ld from the GNU binutils but the ld really is 
solaris's ld still either use --with-ld=PATH_TO_GNU_LD or remove --with-gnu-ld, most likely the same 
thing will happen with as too.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15291


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-05  7:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-05  7:54 [Bug other/15291] New: problem in "make" of gcc3.2.3; make failed due to "/usr/ccs/bin/ld: illegal option -- -" ??? engel at huji dot ac dot il
2004-05-05  7:59 ` [Bug other/15291] " pinskia at gcc dot gnu dot org

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).