https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223752
David Chisnall <thera...@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thera...@freebsd.org --- Comment #3 from David Chisnall <thera...@freebsd.org> --- This doesn't look like a bug. `__attribute__((constructor))` is only defined for functions that take no arguments (for gcc and clang). I'm very surprised if you don't get a compile-time warning. If `argc`, `argv` and `envp` are appearing as arguments, it's because, on some platforms / architectures these happen to be the values in argument registers when the constructors are invoked, but it's not intended behaviour. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"