x86_64-pc-linux-gnu-g++ -c -o multiquery_multiquery.o -Ilib -I/usr/include/mysql -pthread -pipe -march=native -fno-diagnostics-color -O2 -Wno-deprecated-declarations ./examples/multiquery.cpp ./examples/load_jpeg.cpp: In function ‘bool load_jpeg_file(const mysqlpp::examples::CommandLine&, images&, std::string&)’: ./examples/load_jpeg.cpp:90:50: error: taking address of rvalue [-fpermissive] 90 | &(stringstream() << img_file.rdbuf()))->str(); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-g++ -c -o resetdb_resetdb.o -Ilib -I/usr/include/mysql -pthread -pipe -march=native -fno-diagnostics-color -O2 -Wno-deprecated-declarations ./examples/resetdb.cpp make: *** [Makefile:794: load_jpeg_load_jpeg.o] Error 1 ------------------------------------------------------------------- This is an stable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd-j3_stable-20210811-165947 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 12.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.1 Python 3.9.6 Available Ruby profiles: [1] ruby26 (with Rubygems) * Available Rust versions: [1] rust-bin-1.53.0 [2] rust-1.53.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.292_p10 [openjdk-bin-8] 2) AdoptOpenJDK JRE 8.292_p10 [openjdk-jre-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-jre-bin-8 HEAD of ::gentoo commit 2183d88e6e30963badc054044ae158369dfe54e5 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Aug 14 12:36:59 2021 +0000 2021-08-14 12:36:57 UTC emerge -qpvO dev-db/mysql++ [ebuild N ] dev-db/mysql++-3.2.5 USE="-doc"
Created attachment 732979 [details] emerge-info.txt
Created attachment 732982 [details] dev-db:mysql++-3.2.5:20210814-132202.log
Created attachment 732985 [details] emerge-history.txt
Created attachment 732988 [details] environment
Created attachment 732991 [details] etc.portage.tar.bz2
Created attachment 732994 [details] logs.tar.bz2
Created attachment 732997 [details] temp.tar.bz2
I got the same failure (also gcc-11.2.0 on mostly stable amd64 system with some (~) packages. mysql++-3.3.0 emerges without problem. Might this be gcc-11 related?
(In reply to Jack from comment #8) > I got the same failure (also gcc-11.2.0 on mostly stable amd64 system with > some (~) packages. mysql++-3.3.0 emerges without problem. Might this be > gcc-11 related? Oh, thanks, that's useful information! Yeah, it's GCC 11 related.
sparc stable
ppc stable
amd64 stable
x86 stable. Closing.