octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53099] mkoctfile confused by unknown options


From: marco atzeri
Subject: [Octave-bug-tracker] [bug #53099] mkoctfile confused by unknown options followed by source file arguments
Date: Sun, 28 Oct 2018 14:11:38 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0

Follow-up Comment #12, bug #53099 (project octave):

I think I hit a different version of the original problem when trying to build
*image-2.8.1* with *octave 4.4.1* on cygwin.  I missed to note the problem
before but it was also present.

The problem does not appear on normal *pkg install* but only on buildbot-like
enviroment that produces invocation with very long list of argument to
*mkoctfile*.

Failing case: instead of producing a conndef.oct a connectivity.oct is
requested to g++ 
----
/usr/bin/mkoctfile-4.4.1.exe --verbose  -Wall -ggdb -O2 -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong
--param=ssp-buffer-size=4
-fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/octave-forge/prova-image/prova0/octave-image-2.8.1-1.x86_64/build=/usr/src/debug/octave-image-2.8.1-1
-fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/octave-forge/prova-image/prova0/octave-image-2.8.1-1.x86_64/src/image-2.8.1=/usr/src/debug/octave-image-2.8.1-1
conndef.cc connectivity.o

g++ -I/usr/include/octave-4.4.1/octave/.. -I/usr/include/octave-4.4.1/octave  
-fopenmp -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fstack-protector-strong --param=ssp-buffer-size=4
-fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/octave-forge/prova-image/prova0/octave-image-2.8.1-1.x86_64/build=/usr/src/debug/octave-image-2.8.1-1
-fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/octave-forge/prova-image/prova0/octave-image-2.8.1-1.x86_64/src/image-2.8.1=/usr/src/debug/octave-image-2.8.1-1
-shared  -Wall -ggdb -O2 -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4
-fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/octave-forge/prova-image/prova0/octave-image-2.8.1-1.x86_64/build=/usr/src/debug/octave-image-2.8.1-1
-fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/octave-forge/prova-image/prova0/octave-image-2.8.1-1.x86_64/src/image-2.8.1=/usr/src/debug/octave-image-2.8.1-1
conndef.cc -o connectivity.oct  connectivity.o   -L/usr/lib/octave/4.4.1
-loctinterp -loctave
----

Workaround: a simple `-v` is added to the invocation
----
/usr/bin/mkoctfile-4.4.1.exe --verbose  -Wall -ggdb -O2 -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong
--param=ssp-buffer-size=4
-fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/octave-forge/prova-image/prova2/octave-image-2.8.1-1.x86_64/build=/usr/src/debug/octave-image-2.8.1-1
-fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/octave-forge/prova-image/prova2/octave-image-2.8.1-1.x86_64/src/image-2.8.1=/usr/src/debug/octave-image-2.8.1-1
-v conndef.cc connectivity.o

g++ -I/usr/include/octave-4.4.1/octave/.. -I/usr/include/octave-4.4.1/octave  
-fopenmp -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fstack-protector-strong --param=ssp-buffer-size=4
-fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/octave-forge/prova-image/prova2/octave-image-2.8.1-1.x86_64/build=/usr/src/debug/octave-image-2.8.1-1
-fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/octave-forge/prova-image/prova2/octave-image-2.8.1-1.x86_64/src/image-2.8.1=/usr/src/debug/octave-image-2.8.1-1
-shared  -Wall -ggdb -O2 -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4
-fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/octave-forge/prova-image/prova2/octave-image-2.8.1-1.x86_64/build=/usr/src/debug/octave-image-2.8.1-1
-fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/octave-forge/prova-image/prova2/octave-image-2.8.1-1.x86_64/src/image-2.8.1=/usr/src/debug/octave-image-2.8.1-1
-o conndef.oct  connectivity.o conndef.o   -L/usr/lib/octave/4.4.1 -loctinterp
-loctave
----- 


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?53099>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]