Opened 8 years ago

Last modified 6 years ago

#53251 new defect

faust2-devel: requires libc++

Reported by: mojca (Mojca Miklavec) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: agraef (Albert Graef), chrstphrchvz (Christopher Chavez)
Port: faust2-devel

Description (last modified by mojca (Mojca Miklavec))

On libstdc++ installation faust2-devel links against libc++. I didn't try to investigate any further, but most likely it requires C++11.

See: https://github.com/macports/macports-ports/pull/138

/usr/bin/clang++ -arch x86_64 -O3 -Wall -Wuninitialized -Wno-parentheses -I. -Iboxes -Ierrors -Ievaluate -Inormalize -Iparser -Ipropagate -Iparallelize -Isignals -Itlib -Idraw -Idraw/device -Idraw/schema -Iextended -Ipatternmatcher -Idocumentator -Iutils -I../libraries -Igenerator -Igenerator/asmjs -Igenerator/c -Igenerator/cpp -Igenerator/java -Igenerator/js -Igenerator/llvm -Igenerator/fir -Igenerator/wasm -Igenerator/interpreter -DINSTALL_PREFIX='"/opt/local"' -O3 -stdlib=libc++ -Wall -Wuninitialized -fvisibility=hidden -Wno-overloaded-virtual -Wno-parentheses -I. -Iboxes -Ierrors -Ievaluate -Inormalize -Iparser -Ipropagate -Iparallelize -Isignals -Itlib -Idraw -Idraw/device -Idraw/schema -Iextended -Ipatternmatcher -Idocumentator -Iutils -I../libraries -Igenerator -Igenerator/asmjs -Igenerator/c -Igenerator/cpp -Igenerator/java -Igenerator/js -Igenerator/llvm -Igenerator/fir -Igenerator/wasm -Igenerator/interpreter -DINSTALL_PREFIX='"/opt/local"' -I`/opt/local/libexec/llvm-3.4/bin/llvm-config --includedir` -I../architecture -DLLVM_34 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -arch x86_64   -c -o generator/wasm/wasm_code_container.o generator/wasm/wasm_code_container.cpp
In file included from generator/wasm/wasm_code_container.cpp:22:
In file included from generator/wasm/wasm_code_container.hh:26:
In file included from generator/wasm/wasm_instructions.hh:29:
generator/wasm/was_instructions.hh:75:44: error: expected a class or namespace
        :fMode(mode), fName(name), fWasmOp(WasmOp::Dummy), fType(type), fArgs(args)
                                           ^
generator/wasm/was_instructions.hh:97:57: error: expected a class or namespace
        fMathLibTable["abs"] = MathFunDesc(MathFunDesc::Gen::kExtMath, "abs", Typed::kInt, 1);
                                           ~~~~~~~~~~~~~^
generator/wasm/was_instructions.hh:98:59: error: expected a class or namespace
        fMathLibTable["min_i"] = MathFunDesc(MathFunDesc::Gen::kWAS, "min_i", Typed::kInt, 2);
                                             ~~~~~~~~~~~~~^
generator/wasm/was_instructions.hh:99:59: error: expected a class or namespace
        fMathLibTable["max_i"] = MathFunDesc(MathFunDesc::Gen::kWAS, "max_i", Typed::kInt, 2);
                                             ~~~~~~~~~~~~~^
generator/wasm/was_instructions.hh:102:59: error: expected a class or namespace
        fMathLibTable["fabsf"] = MathFunDesc(MathFunDesc::Gen::kWAS, "abs", WasmOp::F32Abs, Typed::kFloat, 1);
                                             ~~~~~~~~~~~~~^

Attachments (1)

main.log (229.3 KB) - added by mojca (Mojca Miklavec) 8 years ago.
Build failure of faust2-devel on 10.7 with libstdc++

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by mojca (Mojca Miklavec)

Attachment: main.log added

Build failure of faust2-devel on 10.7 with libstdc++

comment:1 Changed 8 years ago by mojca (Mojca Miklavec)

Description: modified (diff)
Summary: faust2-devel: requires C++11faust2-devel: requires libc++

comment:2 Changed 6 years ago by chrstphrchvz (Christopher Chavez)

faust2-devel was replaced by faust-devel: [344cbdb495/macports-ports]. Was this ever fixed, or does it still apply to faust-devel?

Last edited 6 years ago by chrstphrchvz (Christopher Chavez) (previous) (diff)

comment:3 Changed 6 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added
Note: See TracTickets for help on using tickets.