| Summary: | =net-fs/samba-3.6.13 USE=aio - lib/system.o: In function `sys_aio_read': system.c:(.text+0x13b1): undefined reference to `aio_read64' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Reuben Martin <reuben.m> |
| Component: | Current packages | Assignee: | Gentoo's SAMBA Team <samba> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | bkohler, marco, meier.rene, shubhadeepc, travisghansen, xangel1 |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Build Log
emerge info Prakash's emerge --info |
||
|
Description
Reuben Martin
2013-04-08 04:01:24 UTC
1) Please attach your complete build log. 2) Please reply with the output of `emerge --info =net-fs/samba-3.6.13`. Created attachment 344830 [details]
Build Log
Created attachment 344832 [details]
emerge info
Please note that the emerge info shows aio USE flag disabled since the last successful build had it manually set that way. Normally it is enabled.
Cannot reproduce on ~amd64, even with glibc 2.17. I wonder why in your build log some parts get built as non-shared (i.e. static) libraries? This image was built on in a KVM/QMEU environment, and then deployed on a VMware host. Is there anything in the configure stage for samba that a VMware environment could influence somehow? Think I may have found something. Every time I try to emerge samba, a conftest segfault shows up in dmesg similar to: conftest[13905]: segfault at 1 ip 0000000000000001 sp 00007fff038f9928 error 4 in conftest[400000+1000] I can see exactly the same error. After commenting out LDFLAGS in my make.conf it compiles fine and I can use the samba client functionality without problems. My LDFLAGS was "-Wl,-O1". Please try without LDFLAGS set. Nice catch. Linker optimizations would have been the last thing I would have considered. First time I've ever seen this linker flag cause any sort of issue. Confirmed that it works for me. With the recent package bump in portage, I ran into problems again. I had set up in portage as custom build environment for building samba where is set LDFLAGS="" Well, that fails for me the same as it did earlier. I've found that it's not enough just to redefine LDFLAGS, it must not be set at all. I think this has less to do with linking errors resulting from the linker optimization flag, and probably has more to do with a broken build system method of appending text to LDFLAGS when it has already been defined. Same here with net-fs/samba-3.6.14-r1 USE="aio client cups fam netapi pam readline server smbclient winbind" (In reply to comment #10) > Same here with net-fs/samba-3.6.14-r1 USE="aio client cups fam netapi pam > readline server smbclient winbind" BTW, I could emerge with LDFLAGS="" Created attachment 348604 [details]
Prakash's emerge --info
Please reopen if this is still an issue with samba-4.x |