Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 707584

Summary: =mail-mta/opensmtpd-6.0.3_p1-r2: Fails to build with -fno-common
Product: Gentoo Linux Reporter: Hanno Böck <hanno>
Component: Current packagesAssignee: Jason A. Donenfeld <zx2c4>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    

Description Hanno Böck gentoo-dev 2020-01-31 16:15:09 UTC
Given that the gentoo version is several versions out of date I don't know if this affects the latest upstream version and so for now won't report it upstream.

libtool: link: x86_64-pc-linux-gnu-gcc -DIO_SSL -DCA_FILE=\"/etc/ssl/certs/ca-certificates.crt\" -O2 -pipe -march=broadwell -fno-common -fPIC -DPIC -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -fno-builtin-memset -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -DNEED_EVENT_ASR_RUN -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--as-needed -o smtpd ../../smtpd/smtpd-aliases.o ../../smtpd/smtpd-bounce.o ../../smtpd/smtpd-ca.o ../../smtpd/smtpd-compress_backend.o ../../smtpd/smtpd-config.o ../../smtpd/smtpd-control.o ../../smtpd/smtpd-delivery.o ../../smtpd/smtpd-dict.o ../../smtpd/smtpd-dns.o ../../smtpd/smtpd-esc.o ../../smtpd/smtpd-envelope.o ../../smtpd/smtpd-expand.o ../../smtpd/smtpd-forward.o ../../smtpd/smtpd-iobuf.o ../../smtpd/smtpd-ioev.o ../../smtpd/smtpd-libressl.o ../../smtpd/smtpd-limit.o ../../smtpd/smtpd-lka.o ../../smtpd/smtpd-lka_session.o ../../smtpd/smtpd-log.o ../../smtpd/smtpd-mda.o ../../smtpd/smtpd-mda_variables.o ../../smtpd/smtpd-mproc.o ../../smtpd/smtpd-mailaddr.o ../../smtpd/smtpd-mta.o ../../smtpd/smtpd-mta_session.o ../../smtpd/smtpd-parse.o ../../smtpd/smtpd-pony.o ../../smtpd/smtpd-queue.o ../../smtpd/smtpd-queue_backend.o ../../smtpd/smtpd-rfc2822.o ../../smtpd/smtpd-ruleset.o ../../smtpd/smtpd-runq.o ../../smtpd/smtpd-scheduler.o ../../smtpd/smtpd-scheduler_backend.o ../../smtpd/smtpd-smtp.o ../../smtpd/smtpd-smtp_session.o ../../smtpd/smtpd-smtpd.o ../../smtpd/smtpd-smtpf_session.o ../../smtpd/smtpd-ssl.o ../../smtpd/smtpd-ssl_smtpd.o ../../smtpd/smtpd-stat_backend.o ../../smtpd/smtpd-table.o ../../smtpd/smtpd-to.o ../../smtpd/smtpd-tree.o ../../smtpd/smtpd-util.o ../../smtpd/smtpd-waitq.o ../../smtpd/smtpd-crypto.o ../../smtpd/smtpd-compress_gzip.o ../../smtpd/smtpd-delivery_filename.o ../../smtpd/smtpd-delivery_maildir.o ../../smtpd/smtpd-delivery_mbox.o ../../smtpd/smtpd-delivery_mda.o ../../smtpd/smtpd-delivery_lmtp.o ../../smtpd/smtpd-table_db.o ../../smtpd/smtpd-table_getpwnam.o ../../smtpd/smtpd-table_proc.o ../../smtpd/smtpd-table_static.o ../../smtpd/smtpd-queue_fs.o ../../smtpd/smtpd-queue_null.o ../../smtpd/smtpd-queue_proc.o ../../smtpd/smtpd-queue_ram.o ../../smtpd/smtpd-scheduler_null.o ../../smtpd/smtpd-scheduler_proc.o ../../smtpd/smtpd-scheduler_ramqueue.o ../../smtpd/smtpd-stat_ramstat.o  -L/usr/lib ../../openbsd-compat/libopenbsd-compat.a -ldb -lz -lcrypto -lssl -levent //usr/lib64/libasr.so -lcrypt -lresolv -lpam -ldl -Wl,-rpath -Wl,//usr/lib64
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../smtpd/smtpd-bounce.o:(.bss+0x0): multiple definition of `BSDoptind'; ../../smtpd/smtpd-aliases.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../smtpd/smtpd-bounce.o:(.bss+0x8): multiple definition of `BSDoptarg'; ../../smtpd/smtpd-aliases.o:(.bss+0x8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../smtpd/smtpd-ca.o:(.bss+0x0): multiple definition of `BSDoptind'; ../../smtpd/smtpd-aliases.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../smtpd/smtpd-ca.o:(.bss+0x8): multiple definition of `BSDoptarg'; ../../smtpd/smtpd-aliases.o:(.bss+0x8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../smtpd/smtpd-compress_backend.o:(.bss+0x0): multiple definition of `BSDoptind'; ../../smtpd/smtpd-aliases.o:(.bss+0x0): first defined here
[...]
Comment 1 Aisha Tammy 2020-07-04 10:54:09 UTC
Package no longer exists, this can be closed now.
Comment 2 Jonas Stein gentoo-dev 2020-07-04 11:06:55 UTC
fixed in 6.7.1_p1