Current-Users archive

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

Re: Build failure on amd64 (C++11 specific?)



Never mind - for some strange reason my local sources contained Rev. 1.1.1.1 of nouveau_debug.h - not sure why my cvs update didn't catch this.

Sorry for the noise.


On Sun, 28 Feb 2016, Paul Goyette wrote:

With sources updated via anoncvs on 2016-02-28 at 00:31:41 UTC

#   compile  gallium/nv50_ir.pico
/build/netbsd-local/tools/x86_64/amd64/bin/x86_64--netbsd-c++ -frandom-seed=21a2488d -O2 -fvisibility=hidden -fno-strict-aliasing -fno-builtin-memcmp -Werror -fno-strict-aliasing -std=c++11 --sysroot=/build/netbsd-local/dest/amd64 -I/build/netbsd-local/dest/amd64/usr/X11R7/include/libdrm -DGALLIUM_SOFTPIPE -DGALLIUM_STATIC_TARGETS=1 -DMESA_EGL_NO_X11_HEADERS -I/build/netbsd-local/xsrc/external/mit/MesaLib/dist/../src/arch/x86_64 -I/build/netbsd-local/xsrc/external/mit/MesaLib/dist/src/mapi -I/build/netbsd-local/xsrc/external/mit/MesaLib/dist/src/mesa -I/build/netbsd-local/xsrc/external/mit/MesaLib/dist/src/mesa/main -I/build/netbsd-local/xsrc/external/mit/MesaLib/dist/include -I/build/netbsd-local/xsrc/external/mit/MesaLib/dist/src -I/build/netbsd-local/xsrc/external/mit/MesaLib/dist/src/mesa -I/build/netbsd-local/xsrc/external/mit/MesaLib/dist/src/mesa/main -I/build/netbsd-local/xsrc/external/mit/MesaLib/dist/src/mapi -I/build/netbsd-local/xsrc/external/mit/MesaLib/dist/src/gallium/include -I/build/netbsd-local/xsrc/external/mit/MesaLib/dist/../src/mapi/glapi -I/build/netbsd-local/xsrc/external/mit/MesaLib/dist/../src/mesa -I/build/netbsd-local/xsrc/external/mit/MesaLib/dist/../src/mesa/main -I/build/netbsd-local/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/common -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"10.3.5\" -DPACKAGE_STRING=\"Mesa\ 10.3.5\" -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\"; -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"10.3.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE___BUILTIN_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_POSIX_MEMALIGN -DHAVE_PTHREAD=1 -DHAVE_DLOPEN -DUSE_SSE41 -DUSE_X86_64_ASM -DHAVE_LIBDRM -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DMESA_EGL_NO_X11_HEADERS -DUSE_EXTERNAL_DXTN_LIB=1 -DYYTEXT_POINTER=1 -I/build/netbsd-local/xsrc/external/mit/MesaLib/dist/src/gallium/include -I/build/netbsd-local/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary -I/build/netbsd-local/xsrc/external/mit/MesaLib/dist/src/gallium/drivers -I/build/netbsd-local/xsrc/external/mit/MesaLib/dist/../src/mesa/drivers/dri/common -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/build/netbsd-local/dest/amd64/usr/X11R7/include -D__AMD64__ -c -I/build/netbsd-local/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau -fPIC /build/netbsd-local/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp -o nv50_ir.pico In file included from /build/netbsd-local/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp:28:0: /build/netbsd-local/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nouveau_debug.h:19:20: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Werror=literal-suffix]
   fprintf(stderr, "%s:%d - "fmt, __FUNCTION__, __LINE__, ##args)
                   ^
cc1plus: all warnings being treated as errors
*** [nv50_ir.pico] Error code 1
nbmake[7]: stopped in /build/netbsd-local/src/external/mit/xorg/lib/gallium
1 error
nbmake[7]: stopped in /build/netbsd-local/src/external/mit/xorg/lib/gallium
*** [dependall] Error code 2
nbmake[6]: stopped in /build/netbsd-local/src/external/mit/xorg/lib/gallium
1 error
nbmake[6]: stopped in /build/netbsd-local/src/external/mit/xorg/lib/gallium
*** Failed target:  dependall-gallium
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="external/mit/xorg/lib/"; real="/build/netbsd-local/src/external/mit/xorg/lib" ;; *) this="external/mit/xorg/lib/${dir}/"; real="/build/netbsd-local/src/external/mit/xorg/lib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /build/netbsd-local/tools/x86_64/amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget gallium dependall
*** Error code 2
Stop.

+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+

!DSPAM:56d25bf756602047514713!


+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+


Home | Main Index | Thread Index | Old Index