On my 3.1-REL and 3.1-STABLE-19990331 systems, invocation of gas at "gcc -pipe" is not treated correctly.
For example, on my 2.2.8-STABLE system says, ----- moon: {101} touch test.s moon: {102} gcc -v -pipe test.s gcc version 2.7.2.1 /usr/bin/as -o /var/tmp/ccsU37121.o test.s /usr/bin/ld -e start -dc -dp /usr/lib/crt0.o -L/usr/libdata/gcc /var/tmp/ccsU37 121.o /usr/lib/libgcc.a -lc /usr/lib/libgcc.a /usr/lib/crt0.o: Undefined symbol `_main' referenced from text segment moon: {103} ----- gcc doesn't use -pipe option when passes test.s to /usr/bin/as. But on my 3.1-RELEASE system, ----- leda: {100} touch test.s leda: {101} gcc -v -pipe test.s gcc version 2.7.2.1 /usr/libexec/elf/as -v -o /var/tmp/ccjoC3551.o test.s - GNU assembler version 2.9.1 (i386-unknown-freebsdelf), using BFD version 2.9.1 ^C leda: {102} ----- gcc passes test.s and "-" to /usr/libexec/elf/as. With these arguments, /usr/libexec/elf/as waits source from stdin (but "-" should be "--"). Does anyone know that this problem may occur on recent -current system? # Sorry, I have no -current system for testing now. -- Jun Kuriyama // kuriy...@sky.rim.or.jp // kuriy...@freebsd.org To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message